Advertisement
Gryph_The_Grey

Untitled

Nov 16th, 2019
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. So confused. Did this delegation work? Where is the
  2. V070BETA
  3.  
  4. griff1@jormungandr:~/v070beta$ ./delegate-account.sh $(cat stake_pool.id) 3101 $(cat secret.key)
  5. ================DELEGATE ACCOUNT=================
  6. REST_PORT: 3101
  7. ACCOUNT_SK: ed25519e_xxx
  8. BLOCK0_HASH: 27668e95121566df0bb2e2c11c5fd95dfe59efd570f8f592235ecff167ca3f29
  9. FEE_CONSTANT: 1000
  10. FEE_COEFFICIENT: 50
  11. FEE_CERTIFICATE: 10000
  12. ==================================================
  13. ##1. Create the delegation certificate for the Account address
  14. ##2. Create the offline delegation transaction for the Account address
  15. ##3. Add input account to the transaction
  16. ##4. Add the certificate to the transaction
  17. ##5. Finalize the transaction
  18. DEPRECATED: use 'data-for-witness' instead
  19. ##6. Create the withness
  20. ##7. Add the witness to the transaction
  21. ##8. Show the transaction info
  22. Transaction db21bdd6be4f659ad06d2f91f9f48459ed39e425279d4aa3f2b128e4c3c247a8 (finalizing)
  23. Input: 11050
  24. Output: 0
  25. Fees: 11050
  26. Balance: 0
  27. - cb4883957f7f88b2b0fc91d3309e52196b6cebae7a7e285e6ff0240181c86232 11050
  28. ##9. Finalize the transaction and send it to the blockchain
  29. df3c8b6b52c2e33622ff26ab58e78cfdd7a959fba59af1e429b58eb3201bda7e
  30. ##Waiting for new block to be created (timeout = 200 blocks = 400s)
  31. New block was created - e92d39ee1368532770f71d4a556b6de5eea214c254403e52cc482c44435dbb82
  32. ##10. Check the account's delegation status
  33. ---
  34. counter: 3
  35. delegation:
  36. pools:
  37. - - d41d12e7cb146083ebfb78a85141f0f942174eae39c53c4c6143be4785b70474
  38. - 1
  39. value: 10000066850
  40.  
  41. #LOOKS OK RIGHT? SO WHERE IS IT?
  42.  
  43. griff1@jormungandr:~/v070beta$ jcli rest v0 leaders logs get -h http://127.0.0.1:3101/api
  44. ---
  45. []
  46.  
  47. griff1@jormungandr:~/v070beta$ jcli rest v0 stake get --host http://127.0.0.1:3101/api | grep $(cat stake_pool.id) -A 1
  48. 7cb146083ebfb78a85141f0f942174eae39c53c4c6143be4785b70474
  49. - 77900
  50. - - d41d12e7cb146083ebfb78a85141f0f942174eae39c53c4c6143be4785b70474
  51. - 77900
  52.  
  53. griff1@jormungandr:~/v070beta$ jcli rest v0 stake get --host http://127.0.0.1:3101/api | grep $(cat stake_pool.id) -A 1
  54. - - d41d12e7cb146083ebfb78a85141f0f942174eae39c53c4c6143be4785b70474
  55. - 77900
  56.  
  57. griff1@jormungandr:~/v070beta$ jcli rest v0 account get ca1sh953qu40alc3v4sljgaxvy72gvkkm8t4ea8u2z7dlczgqvpep3ryepzre0 -h http://127.0.0.1:3101/api
  58. ---
  59. counter: 3
  60. delegation:
  61. pools:
  62. - - d41d12e7cb146083ebfb78a85141f0f942174eae39c53c4c6143be4785b70474
  63. - 1
  64. value: 10000066850
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement