Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and extend the shelley from scratch docs #932

Merged
merged 1 commit into from May 11, 2020

Conversation

dcoutts
Copy link
Contributor

@dcoutts dcoutts commented May 11, 2020

Extend with how to:

  • start the node,
  • query the node,
  • build, sign and submit transactions

Redo parts of the UTxO construction sections to make use of improvements
in the genesis create command, in how it can be used incrementally to
regenerate the genesis after manual changes.

Also update earlier sections for other CLI changes.

@dcoutts
Copy link
Contributor Author

dcoutts commented May 11, 2020

This subsumes #912.

@dcoutts dcoutts force-pushed the dcoutts/shelley-from-scratch branch from 485aa1c to d469579 Compare May 11, 2020 11:50
doc/shelley-genesis.md Outdated Show resolved Hide resolved
Extend with how to:
 start the node,
 query the node,
 build, sign and submit transactions

Redo parts of the UTxO construction sections to make use of improvements
in the genesis create command, in how it can be used incrementally to
regenerate the genesis after manual changes.

Also update earlier sections for other CLI changes.
@dcoutts dcoutts force-pushed the dcoutts/shelley-from-scratch branch from e2e3876 to 4e82e97 Compare May 11, 2020 13:36
@dcoutts
Copy link
Contributor Author

dcoutts commented May 11, 2020

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented May 11, 2020

@iohk-bors iohk-bors bot merged commit 339efbe into master May 11, 2020
@iohk-bors iohk-bors bot deleted the dcoutts/shelley-from-scratch branch May 11, 2020 13:56
@ArturWieczorek
Copy link
Contributor

Just attaching final outputs to show that it was possible to get successful results with this step by step guide:

[artur-de:cardano.node.ForgeTime:Info:36] [2020-05-11 14:21:07.21 UTC] fromList []
[artur-de:cardano.node.ChainDB:Notice:26] [2020-05-11 14:21:07.47 UTC] Chain extended, new tip: (Point 1330, HashHeader {unHashHeader = 04343cceddcfed896f35fe03f14131d979eaf10a890a529d3c8c1f68552dccbb})
[artur-de:cardano.node:Info:70] [2020-05-11 14:21:07.62 UTC] fromList [("time(ps)",Number 8.5628967908927e16),("kind",String "MeasureTxsTimeStart"),("mempoolNumBytes",Number 223.0),("mempoolNumTxs",Number 1.0)]
[artur-de:cardano.node.Mempool:Info:70] [2020-05-11 14:21:07.62 UTC] fromList [("tx",Object (fromList [("txid",String "txid: TxId {_TxId = c694d5b79f9334b8f444fdf63800feea525e1f01f3d61149dd7b4c7bbce8a5b8}")])),("kind",String "TraceMempoolAddedTx"),("mempoolSize",Object (fromList [("numTxs",Number 1.0),("bytes",Number 223.0)]))]
[artur-de:cardano.node.Forge:Info:36] [2020-05-11 14:21:08.21 UTC] Testing for leadership at slot 1331
[artur-de:cardano.node.ForgeTime:Info:36] [2020-05-11 14:21:08.21 UTC] fromList []
[artur-de:cardano.node.Forge:Info:36] [2020-05-11 14:21:08.21 UTC] Not leading slot 1331
[artur-de:cardano.node.ForgeTime:Info:36] [2020-05-11 14:21:08.21 UTC] fromList []

...

[artur-de:cardano.node.ForgeTime:Info:36] [2020-05-11 14:21:26.21 UTC] fromList []
[artur-de:cardano.node.ForgeTime:Info:36] [2020-05-11 14:21:26.21 UTC] fromList [("kind",String "OutcomeTraceForgeEvent"),("difftime",Number 1.64504e8),("slot",Number 1349.0),("mempoolbytes",Number 223.0),("mempoolnumtx",Number 1.0)]
[artur-de:cardano.node.ChainDB:Notice:26] [2020-05-11 14:21:26.38 UTC] Chain extended, new tip: (Point 1349, HashHeader {unHashHeader = faff7758616c79d78b0afa26273269cb29c31ff0f655296fb19a6ac7cb1409ff})
[artur-de:cardano.node:Info:36] [2020-05-11 14:21:26.38 UTC] fromList [("time(ps)",Number 8.5647728976171e16),("kind",String "MeasureTxsTimeStop"),("slot",Number 1349.0)]
[artur-de:cardano.node.Forge:Info:36] [2020-05-11 14:21:26.38 UTC] Adopted forged block for slot 1349: HashHeader {unHashHeader = faff7758616c79d78b0afa26273269cb29c31ff0f655296fb19a6ac7cb1409ff}; TxIds: [txid: TxId {_TxId = c694d5b79f9334b8f444fdf63800feea525e1f01f3d61149dd7b4c7bbce8a5b8}]
[artur-de:cardano.node.ForgeTime:Info:36] [2020-05-11 14:21:26.38 UTC] fromList []
[artur-de:cardano.node.Mempool:Info:34] [2020-05-11 14:21:26.38 UTC] fromList [("kind",String "TraceMempoolRemoveTxs"),("mempoolSize",Object (fromList [("numTxs",Number 0.0),("bytes",Number 0.0)])),("txs",Array [Object (fromList [("txid",String "txid: TxId {_TxId = c694d5b79f9334b8f444fdf63800feea525e1f01f3d61149dd7b4c7bbce8a5b8}")])])]
[artur-de:cardano.node.ChainDB:Notice:67] [2020-05-11 14:21:26.38 UTC] before next, messages elided = 85647728871590
[artur-de:cardano.node.ChainDB:Notice:67] [2020-05-11 14:21:26.38 UTC] Chain extended, new tip: (Point 1349, HashHeader {unHashHeader = faff7758616c79d78b0afa26273269cb29c31ff0f655296fb19a6ac7cb1409ff})
[artur-de:cardano.node.Forge:Info:36] [2020-05-11 14:21:27.21 UTC] Testing for leadership at slot 1350

artur@artur-desktop:~/Projects/ShelleyBlockchainFromScratch/cardano-node$ CARDANO_NODE_SOCKET_PATH=$PWD/example/node1/node.sock;./cardano-cli-1  shelley query filtered-utxo --network-magic 42 --address 82065820e691010cb9436742c55161371a01cae00eb5eb6b02b02980878106588d085f26
                           TxHash                                 TxIx        Lovelace
----------------------------------------------------------------------------------------
c694d5b79f9334b8f444fdf63800feea525e1f01f3d61149dd7b4c7bbce8a5b8     0         500000000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants