forked from IBM-Blockchain-Archive/marbles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpanel_tx_story.pug
80 lines (72 loc) · 2.41 KB
/
panel_tx_story.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#txStoryPanel
span.fa.fa-close.closeTxStory#closeTxStoryPos
//----------------- Step 1 Content
.txStepWrap#txStep1.inactiveStep
.txStatusWrap
.txStatus
.txLegend Build Proposal
.txStoryWrap
.marbleWrap
div.ball#proposeMarbleStable.hideBorders.leftPos(title="Your marble tx")
div.ball#proposeMarble.hideBorders.leftPos
div.ball#marbleBorderTop.leftPos
div.ball#marbleBorderBottom.leftPos
div.ball#marbleBorderLeft.leftPos
div.ball#marbleBorderRight.leftPos
.txDescription
span The invocation needs to be signed and packaged as a proposal.
span This is done here, in the Marbles application.
//----------------- Step 2 Content
.txStepWrap#txStep2.inactiveStep
.txStatusWrap
.txStatus
.txLegend Endorsement
.txStoryWrap
.marbleWrap
div.ball#endorseMarbleStable(title="Your marble tx")
span.fa.fa-check
div.ball#endorseMarble
span.fa.fa-check
.txDescription
span Next, we send the transaction proposal to our peer for endorsement.
span The peer will simulate the transaction, verify the proposal, and then sign the proposal.
span It is then sent back to Marbles.
//----------------- Step 3 Content
.txStepWrap#txStep3.inactiveStep
.txStatusWrap
.txStatus
.txLegend Ordering
.txStoryWrap
#orderBoxStable
span.ball.ordererMarbles.hideMe(title="Another marble tx")
span.fa.fa-check
span.ball.ordererMarbles.hideMe(title="Your marble tx")
span.fa.fa-check
span.ball.ordererMarbles.hideMe(title="Another marble tx")
span.fa.fa-check
#orderBox Block
.txDescription
span Then Marbles will send our endorsed proposal to the orderer.
span The orderer will sequence transactions from throughout the network including ours.
//----------------- Step 4 Content
.txStepWrap#txStep4.inactiveStep
.txStatusWrap
.txStatus
.txLegend Validate & Commit
.txStoryWrap
#commitBoxStable(title="Block")
span.fa.fa-search
.txDescription
span The block containing our transaction is sent from the orderer to our peer.
span Finally it is validated by the peer and then committed to the peer's ledger.
div
.hint * Note the speed of this process is slowed down for demonstration purposes
#txStoryErrorWrap
span.fa.fa-warning(style="fill: #000;")
span#txStoryErrorTxt
//----------------- All done
.stepHelpWrap#doneTxStep
h2 Invoke Complete
br
br
button(type="button").closeTxStory Close