Guest User

key tree navigation / node addition

a guest
Dec 30th, 2013
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ ./novacoind listroot
  2. [
  3. "4UyfQLhvfTuyLzva9SDLj7WcTgnStM7G4D"
  4. ]
  5. $ ./novacoind validateaddress 4UyfQLhvfTuyLzva9SDLj7WcTgnStM7G4D
  6. {
  7. "isvalid" : true,
  8. "address" : "4UyfQLhvfTuyLzva9SDLj7WcTgnStM7G4D",
  9. "ismine" : true,
  10. "isscript" : false,
  11. "pubkey" : "03f1e17eb0fc593c437b46b46b3706d5b8f47471bbc806ba68e0fd658f8bf4e1b0",
  12. "iscompressed" : true,
  13. "nodemeta" : {
  14. "parent" : null,
  15. "depth" : 0,
  16. "sequence" : 0,
  17. "code" : "2c29fceab3aadf525c8795e4740ea070950725af5ad5de770292fb79066c6985",
  18. "method" : 0,
  19. "generator" : "random"
  20. }
  21. }
  22. $ ./novacoind listchild 4UyfQLhvfTuyLzva9SDLj7WcTgnStM7G4D
  23. [
  24. "4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX",
  25. "4LfGiiZFhyQ51xn4WjPzZMZDstCgeyaX67",
  26. "4abMjf8H8EWGKYD4dPzRoWiPKquxRHbUEV"
  27. ]
  28. $ ./novacoind validateaddress 4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX
  29. {
  30. "isvalid" : true,
  31. "address" : "4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX",
  32. "ismine" : true,
  33. "isscript" : false,
  34. "pubkey" : "028e5a28201614d38836027915e99c9104a0dcce16869f586cf4c75c1ce61234cf",
  35. "iscompressed" : true,
  36. "nodemeta" : {
  37. "parent" : "4UyfQLhvfTuyLzva9SDLj7WcTgnStM7G4D",
  38. "depth" : 1,
  39. "sequence" : 2147483649,
  40. "code" : "a029cffa9767655e03d833e194bfefae80d5d097b8651b13f376817249d2ff43",
  41. "method" : 0,
  42. "generator" : "private"
  43. }
  44. }
  45. $ ./novacoind listchild 4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX
  46. [
  47. "4VKRdcYvoTfL72E3QaUXDsp3MFK1uXPMig"
  48. ]
  49. $ ./novacoind validateaddress 4VKRdcYvoTfL72E3QaUXDsp3MFK1uXPMig
  50. {
  51. "isvalid" : true,
  52. "address" : "4VKRdcYvoTfL72E3QaUXDsp3MFK1uXPMig",
  53. "ismine" : true,
  54. "isscript" : false,
  55. "pubkey" : "03601b129c2f7efb632870ec75978a58d48cc16ef9dc17135f43b29c739ffdf307",
  56. "iscompressed" : true,
  57. "nodemeta" : {
  58. "parent" : "4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX",
  59. "depth" : 2,
  60. "sequence" : 0,
  61. "code" : "f7850f590c142e49f096eef8aff961f2e92ddf07805debcd29ae90130bed58b5",
  62. "method" : 0,
  63. "generator" : "public"
  64. }
  65. }
  66. $
  67. $ ./novacoind getchildof 4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX
  68. 4HFLamJmqjUbqcG1NFxker1nQq17GhMmea
  69. $ ./novacoind listchild 4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX
  70. [
  71. "4HFLamJmqjUbqcG1NFxker1nQq17GhMmea",
  72. "4VKRdcYvoTfL72E3QaUXDsp3MFK1uXPMig"
  73. ]
  74. $ ./novacoind validateaddress 4HFLamJmqjUbqcG1NFxker1nQq17GhMmea
  75. {
  76. "isvalid" : true,
  77. "address" : "4HFLamJmqjUbqcG1NFxker1nQq17GhMmea",
  78. "ismine" : true,
  79. "isscript" : false,
  80. "pubkey" : "03068658f59d13d32f8f6bcbed46bd433d70b226e6395de7275ed9167e30dbd06d",
  81. "iscompressed" : true,
  82. "nodemeta" : {
  83. "parent" : "4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX",
  84. "depth" : 2,
  85. "sequence" : 1,
  86. "code" : "1f04f504129fc9b4348af97af7ccd7f23b89c81205417b2d998e172634128f38",
  87. "method" : 0,
  88. "generator" : "public"
  89. },
  90. "account" : ""
  91. }
  92. $ ./novacoind getchildof 4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX true
  93. 4cjVmu8HXLqBgrTRq4o8YgXfcoqd5QWVpk
  94. $ ./novacoind listchild 4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX
  95. [
  96. "4HFLamJmqjUbqcG1NFxker1nQq17GhMmea",
  97. "4cjVmu8HXLqBgrTRq4o8YgXfcoqd5QWVpk",
  98. "4VKRdcYvoTfL72E3QaUXDsp3MFK1uXPMig"
  99. ]
  100. $ ./novacoind validateaddress 4cjVmu8HXLqBgrTRq4o8YgXfcoqd5QWVpk
  101. {
  102. "isvalid" : true,
  103. "address" : "4cjVmu8HXLqBgrTRq4o8YgXfcoqd5QWVpk",
  104. "ismine" : true,
  105. "isscript" : false,
  106. "pubkey" : "02e6e2859e5fd58052125d61fa363ae44b71859e863b1bf743e68b885445ad02a0",
  107. "iscompressed" : true,
  108. "nodemeta" : {
  109. "parent" : "4NWt5aein32GExkjnJDXZpa8T7ZNpCZQNX",
  110. "depth" : 2,
  111. "sequence" : 2147483648,
  112. "code" : "975725a9cd9e7611c620ef05a14c5356f26b5d6cc55a370b51e5777e4117236d",
  113. "method" : 0,
  114. "generator" : "private"
  115. },
  116. "account" : ""
  117. }
  118. $
RAW Paste Data