Scientific architecture · Ledger type and transaction lifecycle
Scientific concept map: Client — Submit proposal; Membership — Public / permissioned; Validators — Policy and agreement; Ledger — Append accepted record; Read state — Visibility rules.
Scientific foundations and analytical reasoning
Ledger admission depends on membership, signature, balance and approval policy. An approved transfer conserves units absent explicit fees or minting.
Before operating the equipment or executing the program, derive the expected outcome using the required theoretical work in Experiment. Use the diagram to identify the variables and system boundaries.
BC-M04 · Academic orientation
Scope and objectives
Scope of the experiment
Follow proposal, membership validation, hash linkage and replicated commit in public, private and consortium ledger policies.
The focus of this experiment is to distinguish public, private and consortium membership models. Students then trace identities, permissions and ledger-domain boundaries, and compare governance and trust assumptions for an IoT deployment. The Concepts view explains the operation before the practical work; the Simulation view is used to examine reference and changed inputs, not to substitute for actual measurements.
Learning objectives
Distinguish public, private and consortium membership models.
Trace identities, permissions and ledger-domain boundaries.
Compare governance and trust assumptions for an IoT deployment.
Identify the configured inputs (Ledger membership; Sender; Sender balance; Transfer units; Independent organization approvals) and record the corresponding observed outputs with units where applicable.
Compare the reference calculation or decision with an independent implementation or authorized observation; state any discrepancy and the applicable model boundary.
Expected learning outcomes
On completion, students can distinguish public, private and consortium membership models, trace identities, permissions and ledger-domain boundaries, and compare governance and trust assumptions for an IoT deployment.
Required deliverables
Submit the derivation or state trace for the named operation, the exact reference and changed configurations, the associated simulator or practical evidence, and a short validation statement addressing compare governance and trust assumptions for an IoT deployment. Separate predicted values from observations.
Prerequisite knowledge and related learning
Review the foundational terminology in Concepts and confirm readiness using the existing setup instructions. After completion, continue to Coins, fungible tokens and device NFTs.
Environment and experimental methodology
The listed browser model and experiment-specific local Python, Solidity or EVM workflow, where provided. Do not treat a model as a deployed ledger.
Begin with a manual prediction, record the baseline, change one independent condition at a time, and compare the resulting trace or measurements with the original prediction. Record observations and uncertainty separately from reference values. Follow the experiment’s specific procedure, safety limits, and acceptance checks.
Scientific theory · Ledger governance and admission
Public, private and consortium systems differ in participation and governance, not simply whether they use hashes. Transaction admission checks signatures, membership and state constraints; consensus establishes a shared order or accepted history under its policy. A ledger is not automatically truthful or confidential.
Worked example and engineering interpretation
If a sender has 12 units and transfers 5 without fees, balances should conserve total units: sender 7, receiver +5. Reject a transfer exceeding the available balance under the lab policy. Compare membership rejection with balance rejection and approval decisions.
Engineering principles · additional worked teaching example
Membership policy determines who may submit or validate transactions. Authorization and balance are separate conditions: an authorized sender with 12 units can transfer 5 leaving 7, but unauthorized submission must not change state even with sufficient funds.
From theory to experiment
Predict the reference result before operating the workbench; check the actual intermediate state, units and constraints. The existing simulation, implementation and procedure below are distinct sources of evidence.
Worked engineering reasoning and boundary conditions
Engineering reference configuration: Ledger membership = consortium; Sender = orgA; Sender balance = 20; Transfer units = 8; Independent organization approvals = 2; Valid transaction signature (fixture) = true. In the classroom model, Committed = Yes; First rejection = None; Sender final balance = 12; Recipient credit = 8. Failed validation never changes either balance. Simplified membership and approval policy; a declared signature flag represents external verification, not actual identity or live consensus.
Use the diagram to follow the calculation or state progression. Keep the teaching configuration separate from the independent exercise values; compare observations with the actual model and implementation.
Concept animation · message sequence
Explore the teaching example independently of the simulator. Each step reveals an operation, data relationship or calculated state. The Simulation view has separate editable inputs.
Step 1 of 3 · Create transfer
Create transfer
1. Sender → Admission
Create transfer
Admitted
1. Sender → Admission
Create transfer
2. Admission → Validator
Admitted
Commit block
1. Sender → Admission
Create transfer
2. Admission → Validator
Admitted
3. Validator → Ledger
Commit block
Teaching example only; inspect live calculations or real practical evidence separately.
How to investigate Blockchain domain and membership
Follow proposal, membership validation, hash linkage and replicated commit in public, private and consortium ledger policies.
Analytical investigation means collecting an observation, identifying the mechanism, using a calculation or state trace to explain it, and checking your conclusion against evidence. Controlled comparison means changing one independent variable, holding the remaining relevant conditions constant, and measuring a dependent variable against a baseline. Experimental validation means comparing a predicted result to a reproducible observation or assertion; agreement inside a model does not certify hardware. Evidence-based reasoning connects a specific observation to a theoretical rule and states uncertainty, not merely an opinion. Performance characterization records a named metric and its units across conditions; sensitivity analysis changes one parameter across several values. A threat assessment links an asset, threat, consequence and evidence to a mitigation.
Experiment-specific guided practice
Objective: Follow proposal, membership validation, hash linkage and replicated commit in public, private and consortium ledger policies.
Start in consortium with orgA, balance 20, amount 8, two organization approvals and valid signature. Inspect the transaction and peer decisions.
Change sender to external. Verify failure at membership; balance remains unchanged. Switch to public and compare.
Restore orgA/consortium, set approvals to 1 and inspect the consensus-policy rejection even though funds are sufficient.
Test amount 30 with balance 20, then invalid signature with amount 8. Distinguish state validation from participation.
Reference check: All replicas update only after accepted validation. Public mode accepts a valid outsider under the toy rule; restricted modes reject.
Model boundary: Public participation does not remove transaction signature or consensus requirements; this model isolates membership and linkage.
Independent task and submission evidence
2. Change sender to external. Verify failure at membership; balance remains unchanged. Switch to public and compare. Record the named input, prediction, actual output and one limitation; restore the original condition and repeat.
Before execution write the independent variable and its levels, dependent observation with units where applicable, baseline, controlled variables, measurement method and expected result. For a state machine use state/event/output rather than inventing a numeric metric. Record failures and repeat the baseline. A weak conclusion is “it works”; a supported conclusion names the changed setting, observed value/state, corresponding rule and one limitation.
Trial
Changed setting
Fixed settings
Predicted result
Actual observation / units
Evidence / uncertainty
A: baseline
Reference
Record
Predict
Record
Record
B: one change
Record
Same as A
Predict
Record
Record
A: repeat
Restore
Same as A
Predict
Record
Record
Completion: submit the filled table, relevant simulator screenshot or terminal/notebook output, reasoning with units/assumptions, and one limitation. Preserve the independent assessment questions; this guide does not fill their answers.
Follow proposal, membership validation, hash linkage and replicated commit in public, private and consortium ledger policies.
Learning goals
Explain the mechanism using the actual intermediate states in this experiment.
Predict and verify the reference and modified conditions described below.
Interpret the acceptance criteria and identify the limits of the model.
Module flashcards · 12 questions
Browse all 12 questions and explanationsWhat is a consortium ledger?
A ledger governed by a group of participating organizations.
What connects adjacent blocks?
A digest of the previous block included in the current block input.
Is public participation the same as unconditional acceptance?
No. Transaction rules and consensus still apply.
What does replication add?
Multiple copies of a record, subject to the ledger’s agreement and synchronization rules.
What is the difference between a mainnet and a test environment?
A mainnet is operational; a test environment is used to exercise behavior without production assets.
What is an example of a permissioned membership rule?
Require an enrolled organizational identity before proposing a ledger change.
Does digest linkage alone give finality?
No. Agreement and validation rules determine the authoritative history.
What state is unchanged after rejection?
Both peer replicas retain the previous digest and block count.
What happens to an authorized consortium proposal of 15 units?
It is accepted under the modeled admission rule and replicated.
What happens if only membership changes to outsider in consortium mode?
The proposal is rejected and the replicas remain unchanged.
Why can the outsider be accepted in public mode here?
The teaching model uses open admission for otherwise valid proposals.
Why compare the previous hash after committing?
To verify that the new block links to the prior ledger state.
Loading experiment-specific apparatus…Previous model / additional reference tools
Loading computational workbench…
Independent theoretical exercises
Before the simulation or practical, solve both experiment-specific tasks. List the given inputs, show the intermediate calculation or state trace, identify the expected observation, and state a limitation. Show formulas and intermediate calculations where relevant, or draw the requested state/sequence diagram. These are independent classroom fixtures; where they differ from the reference configuration below, do not treat them as measured values. Compare your predictions with the corresponding experiment afterwards.
01 · Predict and derive using the given inputs
For Org A balance 20 and payment 8, calculate remaining balance and recipient increment with no fee. Evaluate approvals 1 and 2 under a two-approval policy.
Engineering method — Membership policy determines who may submit or validate transactions. Authorization and balance are separate conditions: an authorized sender with 12 units can transfer 5 leaving 7, but unauthorized submission must not change state even with sufficient funds. Apply this method to the assigned values independently; compare your reasoning with the relevant simulator or practical implementation.
02 · Compare or justify using evidence
Compare public, private and consortium admission; explain why a valid signature does not prove sufficient funds.
Engineering method — Membership policy determines who may submit or validate transactions. Authorization and balance are separate conditions: an authorized sender with 12 units can transfer 5 leaving 7, but unauthorized submission must not change state even with sufficient funds. Apply this method to the assigned values independently; compare your reasoning with the relevant simulator or practical implementation.
03 · State tracing
State tracing · Independent work
An authorized account has 14 units, then requests transfers of 9 and 6. An outsider then requests 1. Trace accepted transfers and balances.
State tracing — Membership policy determines who may submit or validate transactions. Authorization and balance are separate conditions: an authorized sender with 12 units can transfer 5 leaving 7, but unauthorized submission must not change state even with sufficient funds. Apply this method to the assigned values independently; compare your reasoning with the relevant simulator or practical implementation.
Work is saved locally when browser storage is available. Export it for submission; no remote upload or automatic grade is assigned.
Expanded independent theoretical exercise bank
Progress from calculation and interpretation to diagnosis and controlled engineering design. Complete the questions without opening the simulation first; show intermediate steps.
Intermediate · Explain a changed-input result
Independent theoretical exercise · BC-M04-01
Use the reference configuration (Ledger membership = consortium; Sender = orgA; Sender balance = 20; Transfer units = 8; Independent organization approvals = 2; Valid transaction signature (fixture) = true), but change Sender balance = 22. The model reports Sender final balance = 14. Explain the governing rule and assumptions that make this output plausible; identify an independent verification method.
Intermediate · Quantitative comparison
Independent theoretical exercise · BC-M04-02
Two model observations of Sender final balance are 12 (reference) and 14 (changed condition). Compute signed change and, when the reference is nonzero, percentage change. Explain why units matter.
Intermediate · Interpret a technical trace
Independent theoretical exercise · BC-M04-03
For Transfer units = 10, the model supplies this excerpt from Lifecycle validation:
Stage · Result
Membership · Pass
Signature fixture · Pass
Balance · Pass
Consensus policy · Pass
Count rows whose Result value is exactly “Pass”, and identify the displayed row numbers. Explain what the count describes.
Advanced · Reverse reasoning
Independent theoretical exercise · BC-M04-04
An observation is Sender final balance = 10. Candidate A uses Ledger membership = consortium; Sender = orgA; Sender balance = 20; Transfer units = 8; Independent organization approvals = 2; Valid transaction signature (fixture) = true. Candidate B changes the listed settings (Transfer units = 10) and keeps the remaining settings fixed. Which is consistent with the observation? If both can explain it, say what additional evidence is required.
Advanced · Diagnose a reported mismatch
Independent theoretical exercise · BC-M04-05
A student configures Independent organization approvals = 0 while preserving all other reference settings, but copies the reference report of Committed = Yes. Evaluate whether the report is justified. Identify the first configuration/output check to perform.
Challenging · Design a controlled verification
Independent theoretical exercise · BC-M04-06
Design a controlled comparison for Blockchain domain and membership using reference Ledger membership = consortium; Sender = orgA; Sender balance = 20; Transfer units = 8; Independent organization approvals = 2; Valid transaction signature (fixture) = true and test Sender balance = 22. Specify the changed setting(s), measured metric Sender final balance, controls, repetitions, an acceptance check and what evidence can distinguish an actual implementation from the model.
Step-by-step experimental procedure
Compare public, private and consortium admission and validate a complete transfer.
1 · Reference workbench configuration
Use the named reference workbench and its reference inputs. Additional live instruments may have different controls; use the matching instrument. Record virtual and practical results separately.
Ledger membershipconsortium
SenderorgA
Sender balance20
Transfer units8
Independent organization approvals2
Valid transaction signature (fixture)Yes
2 · Perform the investigation in order
Start in consortium with orgA, balance 20, amount 8, two organization approvals and valid signature. Inspect the transaction and peer decisions.
Change sender to external. Verify failure at membership; balance remains unchanged. Switch to public and compare.
Restore orgA/consortium, set approvals to 1 and inspect the consensus-policy rejection even though funds are sufficient.
Test amount 30 with balance 20, then invalid signature with amount 8. Distinguish state validation from participation.
Inspect the block digest for the committed transfer and explain how peers receive a shared ordered ledger.
3 · Compare controlled trials
Trial
Independent change
Expected check
Observation
Consortium commit
Use reference inputs above
Committed: Yes; Sender final balance: 12
Record actual result
External writer
Sender = external
Committed: No; First rejection: Membership
Record actual result
Insufficient votes
Independent organization approvals = 1
First rejection: Consensus policy
Record actual result
Insufficient funds
Transfer units = 30
First rejection: Balance
Record actual result
Public external
Sender = external; Ledger membership = public
Committed: Yes
Record actual result
4 · Analyze and report
Which organizations control admission, consensus and application access in each ledger type?
Required evidence: Lifecycle traces for each ledger type and balance conservation.
Model boundary: Simplified membership and approval policy; a declared signature flag represents external verification, not actual identity or live consensus.
Controlled investigation · reproducible evidence
Method. Use the existing reference workbench configuration and the named controlled changes below. A controlled variable stays fixed while the independent variable is intentionally changed; the dependent variable is the resulting observed output. First predict each trial from the Concepts page. Run the baseline, then change only the specified setting and record the outcome. For deterministic traces one execution per case and a repeated verification are sufficient; for timing or stochastic measurements repeat at least five times, recording each run, median and range. Reset to the reference state between independent comparisons.
Trial
Independent change
Dependent observation
Consortium commit
Use reference inputs above
Record actual outcome and units
External writer
Sender = external
Record actual outcome and units
Insufficient votes
Independent organization approvals = 1
Record actual outcome and units
Insufficient funds
Transfer units = 30
Record actual outcome and units
Evidence: attach the completed comparison table, one trace or screenshot per condition, and actual practical terminal/hardware evidence where applicable. Explain any prediction mismatch and distinguish modeled behavior from measured results.
Download this notebook and open Google Colab. Select File → Upload notebook and choose the downloaded .ipynb.
Read the Markdown instructions before each executable cell. Use a Python runtime, run cells from top to bottom, and resolve imports if necessary.
Perform the baseline and controlled changes. Save the notebook with actual outputs and your written interpretation.
Execution scope: Public participation does not remove transaction signature or consensus requirements; this model isolates membership and linkage. Default computational cells passed isolated local Python execution; physical equipment and live services require separate verification.
01Instructions · Markdown
# BC-M04 · Blockchain domain and membership
**PSUT IoT Engineering Studio — Dr. Mohammad Alja’afreh**
## 1. Scientific objective
Compare public, private and consortium admission and validate a complete transfer.
Complete the analytical worksheet in the portal first. Record your predictions before running this notebook. This notebook is a bounded local computational investigation; use the portal’s separate WSL, hardware or Remix procedure for real interfaces.
02Instructions · Markdown
## Experiment-specific preparation
Follow proposal, membership validation, hash linkage and replicated commit in public, private and consortium ledger policies.
**Reference procedure (use the matching simulator/WSL tool where named, not an unrelated service):**
1. Start in consortium with orgA, balance 20, amount 8, two organization approvals and valid signature. Inspect the transaction and peer decisions.
2. Change sender to external. Verify failure at membership; balance remains unchanged. Switch to public and compare.
3. Restore orgA/consortium, set approvals to 1 and inspect the consensus-policy rejection even though funds are sufficient.
4. Test amount 30 with balance 20, then invalid signature with amount 8. Distinguish state validation from participation.
5. Inspect the block digest for the committed transfer and explain how peers receive a shared ordered ledger.
**Evidence:** All replicas update only after accepted validation. Public mode accepts a valid outsider under the toy rule; restricted modes reject.
**Boundary:** Public participation does not remove transaction signature or consensus requirements; this model isolates membership and linkage.
03Instructions · Markdown
## 2. Reference configuration and investigation
1. Start in consortium with orgA, balance 20, amount 8, two organization approvals and valid signature. Inspect the transaction and peer decisions.
2. Change sender to external. Verify failure at membership; balance remains unchanged. Switch to public and compare.
3. Restore orgA/consortium, set approvals to 1 and inspect the consensus-policy rejection even though funds are sufficient.
4. Test amount 30 with balance 20, then invalid signature with amount 8. Distinguish state validation from participation.
5. Inspect the block digest for the committed transfer and explain how peers receive a shared ordered ledger.
Run cells in order; do not substitute model results for physical measurements.
04Instructions · Markdown
## 3. Evaluate membership, approvals and balance separately.
05Python · executable cell
PYTHON · Code cell
# =====================================================================
# BC-M04 | Code cell 01 | Blockchain domain and membership
# Purpose: 3. Evaluate membership, approvals and balance separately.
# Inputs: the explicit fixture/settings below and any preceding cell state.
# Output: inspect printed values, returned records or assertions; record evidence.
# =====================================================================
# Define the reusable operation validate; keep its logic separate from the trial.
def validate(domain,sender,balance,amount,approvals,signature):
if domain!="public" and sender!="orgA":return "membership"
if not signature:return "signature"
if domain=="consortium" and approvals<2:return "policy"
if amount>balance:return "balance"
return balance-amount
# Check the expected invariant so a mismatch fails visibly instead of appearing successful.
assert validate("consortium","orgA",20,8,2,True)==12
# =====================================================================
# BC-M04 | Code cell 02 | Blockchain domain and membership
# Purpose: 4. Change one validation condition at a time.
# Inputs: the explicit fixture/settings below and any preceding cell state.
# Output: inspect printed values, returned records or assertions; record evidence.
# =====================================================================
# Repeat the same operation for each configured input so observations are comparable.
for args in [("consortium","external",20,8,2,True),("consortium","orgA",20,8,1,True),("consortium","orgA",20,30,2,True)]:print(validate(*args))
## Experimental analysis and submission
1. Record the reference input, predicted output and actual result.
2. Modify one independent variable and run the relevant cells again.
3. Explain the result using the theory and identify model limitations.
4. Save the notebook with outputs and retain the separate theoretical worksheet.
**Your derivation and conclusion:**
(Complete independently.)
09Instructions · Markdown
## Guided reasoning and evidence
A controlled comparison changes one independent input while keeping the other relevant inputs fixed; the dependent variable is the recorded output. Use this lab’s reference condition above.
**Independent task:** 2. Change sender to external. Verify failure at membership; balance remains unchanged. Switch to public and compare. Record the named input, prediction, actual output and one limitation; restore the original condition and repeat.
| Trial | Input/configuration | Prediction | Observation | Evidence / limitation |
|---|---|---|---|---|
| A | Reference | | | |
| B | Changed input | | | |
| A repeat | Reference | | | |
A conclusion is supported only when it cites the recorded values or observed states and explains them with the experiment theory.
Formative assessment
Explain the following without looking at the simulation output, then reveal the reference response.
What is a consortium ledger?
A ledger governed by a group of participating organizations.
What connects adjacent blocks?
A digest of the previous block included in the current block input.
Is public participation the same as unconditional acceptance?
No. Transaction rules and consensus still apply.
What does replication add?
Multiple copies of a record, subject to the ledger’s agreement and synchronization rules.
Applied task
Change proposer to outsider and compare public and consortium policies.
Submit your reference and modified observations with a justification.
The original tutor and adaptive examination retain their existing 102-lab catalogue. Use the module-specific study questions above and copy this contextual prompt into your chosen AI assistant if needed.
Explain the engineering mechanism in BC-M04 · Blockchain domain and membership. My task: Follow proposal, membership validation, hash linkage and replicated commit in public, private and consortium ledger policies.. Acceptance: All replicas update only after accepted validation. Public mode accepts a valid outsider under the toy rule; restricted modes reject.. Model boundary: Public participation does not remove transaction signature or consensus requirements; this model isolates membership and linkage.. Ask me for my actual observations and distinguish model predictions from real measurements.
Shared research workbenches · network designer & advanced studiesConcurrent-device simulation & Monte Carlo research