Coder Social home page Coder Social logo

uchain-world / uchain-fullnode Goto Github PK

View Code? Open in Web Editor NEW
36.0 4.0 59.0 18.73 MB

UChain Cross-Platform C++ Full-Node Wallet Implementation

License: GNU Affero General Public License v3.0

CMake 0.69% C++ 98.23% C 0.44% Shell 0.64%
zeromq miniupnpc boost sharing-economy-enterprises modules-blockchain

uchain-fullnode's People

Contributors

o-u-p avatar yangguanglu avatar yongdongji14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

uchain-fullnode's Issues

[UIP0.1]First version of UChain

UIP stands for UChain Improvement Proposal.
UIP0.1 is the first version of UChain.
In this version,there will be a lot requirements of a normal basic fullnode.
A HD wallet is needed.
A p2p network is needed.
A distribute database is needed.
A miner work is needed.
Basic block and transaction are needed.

Normal users can use it to test basic functions of the wallet of UChain,while miners or super nodes cannot because there is not enough logic for consensus.

always fork when synchronize block[bug]

0181108T111359 DEBUG [blockchain] push block height:33407 hash:778031485fe4731639bc6cc4353af8533201bde94b4cb966ed67a5b851c891c8
20181108T111359 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33406) new blocks (1) replace blocks (0)
20181108T111359 DEBUG [blockchain] Orphan pool added block [9223b0709dacd273b21e61bae42342e0b51eedddf7ed9229a631ee4cac151ea5] previous [778031485fe4731639bc6cc4353af8533201bde94b4cb966ed67a5b851c891c8] old size (0).
20181108T111359 INFO [blockchain] Block [33408] verify (1) txs and (1) inputs
20181108T111359 INFO [blockchain] Block [33408] verified in (0) secs or (0) ms/input
20181108T111359 DEBUG [blockchain] Orphan pool removed block [9223b0709dacd273b21e61bae42342e0b51eedddf7ed9229a631ee4cac151ea5] old size (1). with status: success
20181108T111359 DEBUG [blockchain] push block height:33408 hash:9223b0709dacd273b21e61bae42342e0b51eedddf7ed9229a631ee4cac151ea5
20181108T111359 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33407) new blocks (1) replace blocks (0)
20181108T111359 DEBUG [blockchain] Orphan pool added block [7a228677cdb265b4e0e19e4bb0c43d91b30ddd078ca451b4e46ef0adbf325665] previous [9223b0709dacd273b21e61bae42342e0b51eedddf7ed9229a631ee4cac151ea5] old size (0).
20181108T111359 INFO [blockchain] Block [33409] verify (1) txs and (1) inputs
20181108T111359 INFO [blockchain] Block [33409] verified in (0) secs or (0) ms/input
20181108T111359 DEBUG [blockchain] Orphan pool removed block [7a228677cdb265b4e0e19e4bb0c43d91b30ddd078ca451b4e46ef0adbf325665] old size (1). with status: success
20181108T111359 DEBUG [blockchain] push block height:33409 hash:7a228677cdb265b4e0e19e4bb0c43d91b30ddd078ca451b4e46ef0adbf325665
20181108T111359 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33408) new blocks (1) replace blocks (0)
20181108T111400 DEBUG [blockchain] Orphan pool added block [6f1517ef172b332c879f9ca3a5ecc08e0a4e640fe6895b70948cae11041075cb] previous [7a228677cdb265b4e0e19e4bb0c43d91b30ddd078ca451b4e46ef0adbf325665] old size (0).
20181108T111400 INFO [blockchain] Block [33410] verify (1) txs and (1) inputs
20181108T111400 INFO [blockchain] Block [33410] verified in (0) secs or (0) ms/input
20181108T111400 DEBUG [blockchain] Orphan pool removed block [6f1517ef172b332c879f9ca3a5ecc08e0a4e640fe6895b70948cae11041075cb] old size (1). with status: success
20181108T111400 DEBUG [blockchain] push block height:33410 hash:6f1517ef172b332c879f9ca3a5ecc08e0a4e640fe6895b70948cae11041075cb
20181108T111400 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33409) new blocks (1) replace blocks (0)
20181108T111400 DEBUG [blockchain] Orphan pool added block [35447f9fbfdffcc72fbaf37feb9d0710389dafc9fec04cffc18d641045a1b5d7] previous [6f1517ef172b332c879f9ca3a5ecc08e0a4e640fe6895b70948cae11041075cb] old size (0).
20181108T111400 INFO [blockchain] Block [33411] verify (1) txs and (1) inputs
20181108T111400 INFO [blockchain] Block [33411] verified in (0) secs or (0) ms/input
20181108T111400 DEBUG [blockchain] Orphan pool removed block [35447f9fbfdffcc72fbaf37feb9d0710389dafc9fec04cffc18d641045a1b5d7] old size (1). with status: success
20181108T111400 DEBUG [blockchain] push block height:33411 hash:35447f9fbfdffcc72fbaf37feb9d0710389dafc9fec04cffc18d641045a1b5d7
20181108T111400 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33410) new blocks (1) replace blocks (0)
20181108T111401 DEBUG [blockchain] Orphan pool added block [917b29f3735fd536f31564dc452065ff8b3335edbf0a2dbf2c14d5bdfa87c37a] previous [35447f9fbfdffcc72fbaf37feb9d0710389dafc9fec04cffc18d641045a1b5d7] old size (0).
20181108T111401 INFO [blockchain] Block [33412] verify (1) txs and (1) inputs
20181108T111401 INFO [blockchain] Block [33412] verified in (0) secs or (0) ms/input
20181108T111401 DEBUG [blockchain] Orphan pool removed block [917b29f3735fd536f31564dc452065ff8b3335edbf0a2dbf2c14d5bdfa87c37a] old size (1). with status: success
20181108T111401 DEBUG [blockchain] push block height:33412 hash:917b29f3735fd536f31564dc452065ff8b3335edbf0a2dbf2c14d5bdfa87c37a
20181108T111401 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33411) new blocks (1) replace blocks (0)
20181108T111402 DEBUG [blockchain] Orphan pool added block [92fa54d6bd2dd4311f87836f028bc18bd8d49b668d6ca5ca99359cd285984304] previous [917b29f3735fd536f31564dc452065ff8b3335edbf0a2dbf2c14d5bdfa87c37a] old size (0).
20181108T111402 INFO [blockchain] Block [33413] verify (1) txs and (1) inputs
20181108T111402 INFO [blockchain] Block [33413] verified in (0) secs or (0) ms/input
20181108T111402 DEBUG [blockchain] Orphan pool removed block [92fa54d6bd2dd4311f87836f028bc18bd8d49b668d6ca5ca99359cd285984304] old size (1). with status: success
20181108T111402 DEBUG [blockchain] push block height:33413 hash:92fa54d6bd2dd4311f87836f028bc18bd8d49b668d6ca5ca99359cd285984304
20181108T111402 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33412) new blocks (1) replace blocks (0)
20181108T111402 DEBUG [blockchain] Orphan pool added block [7eaf4122863ff1f2ffe117a46a1783f9497f13949feb382713bbb28ae1a1aa0f] previous [92fa54d6bd2dd4311f87836f028bc18bd8d49b668d6ca5ca99359cd285984304] old size (0).
20181108T111402 INFO [blockchain] Block [33414] verify (1) txs and (1) inputs
20181108T111402 INFO [blockchain] Block [33414] verified in (0) secs or (0) ms/input
20181108T111402 DEBUG [blockchain] Orphan pool removed block [7eaf4122863ff1f2ffe117a46a1783f9497f13949feb382713bbb28ae1a1aa0f] old size (1). with status: success
20181108T111402 DEBUG [blockchain] push block height:33414 hash:7eaf4122863ff1f2ffe117a46a1783f9497f13949feb382713bbb28ae1a1aa0f
20181108T111402 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33413) new blocks (1) replace blocks (0)
20181108T111409 DEBUG [blockchain] Orphan pool added block [3b8edb6958f0f1106f4bf834f9928932e80a0006d63cd6c30eda4f013b4046e7] previous [7eaf4122863ff1f2ffe117a46a1783f9497f13949feb382713bbb28ae1a1aa0f] old size (0).
20181108T111409 INFO [blockchain] Block [33415] verify (1) txs and (1) inputs
20181108T111409 INFO [blockchain] Block [33415] verified in (0) secs or (0) ms/input
20181108T111409 DEBUG [blockchain] Orphan pool removed block [3b8edb6958f0f1106f4bf834f9928932e80a0006d63cd6c30eda4f013b4046e7] old size (1). with status: success
20181108T111409 DEBUG [blockchain] push block height:33415 hash:3b8edb6958f0f1106f4bf834f9928932e80a0006d63cd6c30eda4f013b4046e7
20181108T111409 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33414) new blocks (1) replace blocks (0)
20181108T111409 DEBUG [blockchain] Orphan pool added block [2f8c8c422ec8c8502c8dc6816b528cbff3181e8090e7e0a0804efedef1909977] previous [3b8edb6958f0f1106f4bf834f9928932e80a0006d63cd6c30eda4f013b4046e7] old size (0).
20181108T111409 INFO [blockchain] Block [33416] verify (1) txs and (1) inputs
20181108T111409 INFO [blockchain] Block [33416] verified in (0) secs or (0) ms/input
20181108T111409 DEBUG [blockchain] Orphan pool removed block [2f8c8c422ec8c8502c8dc6816b528cbff3181e8090e7e0a0804efedef1909977] old size (1). with status: success
20181108T111409 DEBUG [blockchain] push block height:33416 hash:2f8c8c422ec8c8502c8dc6816b528cbff3181e8090e7e0a0804efedef1909977
20181108T111409 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33415) new blocks (1) replace blocks (0)
20181108T111410 DEBUG [blockchain] Orphan pool added block [a3865272fb672bcb9b8df78ad6c3ac52940a9affbb5a5baf221bc0256733f2ca] previous [2f8c8c422ec8c8502c8dc6816b528cbff3181e8090e7e0a0804efedef1909977] old size (0).
20181108T111410 INFO [blockchain] Block [33417] verify (1) txs and (1) inputs
20181108T111410 INFO [blockchain] Block [33417] verified in (0) secs or (0) ms/input
20181108T111410 DEBUG [blockchain] Orphan pool removed block [a3865272fb672bcb9b8df78ad6c3ac52940a9affbb5a5baf221bc0256733f2ca] old size (1). with status: success
20181108T111410 DEBUG [blockchain] push block height:33417 hash:a3865272fb672bcb9b8df78ad6c3ac52940a9affbb5a5baf221bc0256733f2ca
20181108T111410 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33416) new blocks (1) replace blocks (0)
20181108T111410 DEBUG [blockchain] Orphan pool added block [ca0a326ec9e1b57b6a82cb89aa6ce237ee6ef042e4ceb22fd72d46c9a00d3288] previous [a3865272fb672bcb9b8df78ad6c3ac52940a9affbb5a5baf221bc0256733f2ca] old size (0).
20181108T111410 INFO [blockchain] Block [33418] verify (1) txs and (1) inputs
20181108T111410 INFO [blockchain] Block [33418] verified in (0) secs or (0) ms/input
20181108T111410 DEBUG [blockchain] Orphan pool removed block [ca0a326ec9e1b57b6a82cb89aa6ce237ee6ef042e4ceb22fd72d46c9a00d3288] old size (1). with status: success
20181108T111410 DEBUG [blockchain] push block height:33418 hash:ca0a326ec9e1b57b6a82cb89aa6ce237ee6ef042e4ceb22fd72d46c9a00d3288
20181108T111410 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33417) new blocks (1) replace blocks (0)
20181108T111411 DEBUG [blockchain] Orphan pool added block [1153553dc5fd9cf03931bc9cf22536d9df82012feb3bdb5558b50e26d42e8ffb] previous [ca0a326ec9e1b57b6a82cb89aa6ce237ee6ef042e4ceb22fd72d46c9a00d3288] old size (0).
20181108T111411 INFO [blockchain] Block [33419] verify (1) txs and (1) inputs
20181108T111411 INFO [blockchain] Block [33419] verified in (0) secs or (0) ms/input
20181108T111411 DEBUG [blockchain] Orphan pool removed block [1153553dc5fd9cf03931bc9cf22536d9df82012feb3bdb5558b50e26d42e8ffb] old size (1). with status: success
20181108T111411 DEBUG [blockchain] push block height:33419 hash:1153553dc5fd9cf03931bc9cf22536d9df82012feb3bdb5558b50e26d42e8ffb
20181108T111411 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33418) new blocks (1) replace blocks (0)
20181108T111411 DEBUG [blockchain] Orphan pool added block [57964ef028c8d0e162b2d855118d70507f893e770b71a5cdf9d9e523f36b8064] previous [1153553dc5fd9cf03931bc9cf22536d9df82012feb3bdb5558b50e26d42e8ffb] old size (0).
20181108T111411 INFO [blockchain] Block [33420] verify (1) txs and (1) inputs
20181108T111411 INFO [blockchain] Block [33420] verified in (0) secs or (0) ms/input
20181108T111411 DEBUG [blockchain] Orphan pool removed block [57964ef028c8d0e162b2d855118d70507f893e770b71a5cdf9d9e523f36b8064] old size (1). with status: success
20181108T111411 DEBUG [blockchain] push block height:33420 hash:57964ef028c8d0e162b2d855118d70507f893e770b71a5cdf9d9e523f36b8064
20181108T111411 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33419) new blocks (1) replace blocks (0)
20181108T111419 DEBUG [blockchain] Orphan pool added block [2fb43c25b21bca3d98cef63610f701fb8fc4d68bb53f807490827dddde70e624] previous [57964ef028c8d0e162b2d855118d70507f893e770b71a5cdf9d9e523f36b8064] old size (0).
20181108T111419 INFO [blockchain] Block [33421] verify (1) txs and (1) inputs
20181108T111419 INFO [blockchain] Block [33421] verified in (0) secs or (0) ms/input
20181108T111419 DEBUG [blockchain] Orphan pool removed block [2fb43c25b21bca3d98cef63610f701fb8fc4d68bb53f807490827dddde70e624] old size (1). with status: success
20181108T111419 DEBUG [blockchain] push block height:33421 hash:2fb43c25b21bca3d98cef63610f701fb8fc4d68bb53f807490827dddde70e624
20181108T111419 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33420) new blocks (1) replace blocks (0)
20181108T111419 DEBUG [blockchain] Orphan pool added block [f0259e90fd690f7b7aaaf138fab2e4245048bafd87761559c3c1a59bbabe0ef4] previous [2fb43c25b21bca3d98cef63610f701fb8fc4d68bb53f807490827dddde70e624] old size (0).
20181108T111419 INFO [blockchain] Block [33422] verify (1) txs and (1) inputs
20181108T111419 INFO [blockchain] Block [33422] verified in (0) secs or (0) ms/input
20181108T111419 DEBUG [blockchain] Orphan pool removed block [f0259e90fd690f7b7aaaf138fab2e4245048bafd87761559c3c1a59bbabe0ef4] old size (1). with status: success
20181108T111419 DEBUG [blockchain] push block height:33422 hash:f0259e90fd690f7b7aaaf138fab2e4245048bafd87761559c3c1a59bbabe0ef4
20181108T111419 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33421) new blocks (1) replace blocks (0)
20181108T111419 DEBUG [blockchain] Orphan pool added block [ca67fb2089134452470b3336ac69a3ecc623f31656952d30dcb108eeba9b1367] previous [f0259e90fd690f7b7aaaf138fab2e4245048bafd87761559c3c1a59bbabe0ef4] old size (0).
20181108T111419 INFO [blockchain] Block [33423] verify (1) txs and (1) inputs
20181108T111419 INFO [blockchain] Block [33423] verified in (0) secs or (0) ms/input
20181108T111419 DEBUG [blockchain] Orphan pool removed block [ca67fb2089134452470b3336ac69a3ecc623f31656952d30dcb108eeba9b1367] old size (1). with status: success
20181108T111419 DEBUG [blockchain] push block height:33423 hash:ca67fb2089134452470b3336ac69a3ecc623f31656952d30dcb108eeba9b1367
20181108T111419 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33422) new blocks (1) replace blocks (0)
20181108T111419 DEBUG [blockchain] Orphan pool added block [bb5dab5ac8f92aae37321a8d5280c6f52fea0572e7288baedda04ebb4b21e132] previous [ca67fb2089134452470b3336ac69a3ecc623f31656952d30dcb108eeba9b1367] old size (0).
20181108T111419 INFO [blockchain] Block [33424] verify (1) txs and (1) inputs
20181108T111419 INFO [blockchain] Block [33424] verified in (0) secs or (0) ms/input
20181108T111419 DEBUG [blockchain] Orphan pool removed block [bb5dab5ac8f92aae37321a8d5280c6f52fea0572e7288baedda04ebb4b21e132] old size (1). with status: success
20181108T111419 DEBUG [blockchain] push block height:33424 hash:bb5dab5ac8f92aae37321a8d5280c6f52fea0572e7288baedda04ebb4b21e132
20181108T111419 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33423) new blocks (1) replace blocks (0)
20181108T111420 DEBUG [blockchain] Orphan pool added block [2cc2e8da0a96e33f837de0924c13e89f05279914b0d5c8014ed440e7677fde1f] previous [bb5dab5ac8f92aae37321a8d5280c6f52fea0572e7288baedda04ebb4b21e132] old size (0).
20181108T111420 INFO [blockchain] Block [33425] verify (1) txs and (1) inputs
20181108T111420 INFO [blockchain] Block [33425] verified in (0) secs or (0) ms/input
20181108T111420 DEBUG [blockchain] Orphan pool removed block [2cc2e8da0a96e33f837de0924c13e89f05279914b0d5c8014ed440e7677fde1f] old size (1). with status: success
20181108T111420 DEBUG [blockchain] push block height:33425 hash:2cc2e8da0a96e33f837de0924c13e89f05279914b0d5c8014ed440e7677fde1f
20181108T111420 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33424) new blocks (1) replace blocks (0)
20181108T111420 DEBUG [blockchain] Orphan pool added block [f233bca1044c545c14c6fc10194c1c5c011539c2a50515459ff60c3b34479f5d] previous [2cc2e8da0a96e33f837de0924c13e89f05279914b0d5c8014ed440e7677fde1f] old size (0).
20181108T111420 INFO [blockchain] Block [33426] verify (1) txs and (1) inputs
20181108T111420 INFO [blockchain] Block [33426] verified in (0) secs or (0) ms/input
20181108T111420 DEBUG [blockchain] Orphan pool removed block [f233bca1044c545c14c6fc10194c1c5c011539c2a50515459ff60c3b34479f5d] old size (1). with status: success
20181108T111420 DEBUG [blockchain] push block height:33426 hash:f233bca1044c545c14c6fc10194c1c5c011539c2a50515459ff60c3b34479f5d
20181108T111420 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33425) new blocks (1) replace blocks (0)
20181108T111421 DEBUG [blockchain] Orphan pool added block [653493259f82c3b2aa8b372fc83add2ea80029454c9108856479a70ee27f3648] previous [f233bca1044c545c14c6fc10194c1c5c011539c2a50515459ff60c3b34479f5d] old size (0).
20181108T111421 INFO [blockchain] Block [33427] verify (1) txs and (1) inputs
20181108T111421 INFO [blockchain] Block [33427] verified in (0) secs or (0) ms/input
20181108T111421 DEBUG [blockchain] Orphan pool removed block [653493259f82c3b2aa8b372fc83add2ea80029454c9108856479a70ee27f3648] old size (1). with status: success
20181108T111421 DEBUG [blockchain] push block height:33427 hash:653493259f82c3b2aa8b372fc83add2ea80029454c9108856479a70ee27f3648
20181108T111421 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33426) new blocks (1) replace blocks (0)
20181108T111422 DEBUG [blockchain] Orphan pool added block [6b66ac5e93ceeeb945437597b891dbc56db6437f71d97df74d171021d77c161b] previous [653493259f82c3b2aa8b372fc83add2ea80029454c9108856479a70ee27f3648] old size (0).
20181108T111422 INFO [blockchain] Block [33428] verify (1) txs and (1) inputs
20181108T111422 INFO [blockchain] Block [33428] verified in (0) secs or (0) ms/input
20181108T111422 DEBUG [blockchain] Orphan pool removed block [6b66ac5e93ceeeb945437597b891dbc56db6437f71d97df74d171021d77c161b] old size (1). with status: success
20181108T111422 DEBUG [blockchain] push block height:33428 hash:6b66ac5e93ceeeb945437597b891dbc56db6437f71d97df74d171021d77c161b
20181108T111422 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33427) new blocks (1) replace blocks (0)
20181108T111422 DEBUG [blockchain] Orphan pool added block [ba7970cf86cd3b1c516dff2464dc58344c4cee447d97e3ab2f834bc6ec02aacf] previous [6b66ac5e93ceeeb945437597b891dbc56db6437f71d97df74d171021d77c161b] old size (0).
20181108T111422 INFO [blockchain] Block [33429] verify (1) txs and (1) inputs
20181108T111422 INFO [blockchain] Block [33429] verified in (0) secs or (0) ms/input
20181108T111422 DEBUG [blockchain] Orphan pool removed block [ba7970cf86cd3b1c516dff2464dc58344c4cee447d97e3ab2f834bc6ec02aacf] old size (1). with status: success
20181108T111422 DEBUG [blockchain] push block height:33429 hash:ba7970cf86cd3b1c516dff2464dc58344c4cee447d97e3ab2f834bc6ec02aacf
20181108T111422 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33428) new blocks (1) replace blocks (0)
20181108T111423 DEBUG [blockchain] Orphan pool added block [c5e0ab0db1d3ee94fd4a099b92e3400ed25a6fd431b8c090137437a3c0bf8b49] previous [ba7970cf86cd3b1c516dff2464dc58344c4cee447d97e3ab2f834bc6ec02aacf] old size (0).
20181108T111423 INFO [blockchain] Block [33430] verify (1) txs and (1) inputs
20181108T111423 INFO [blockchain] Block [33430] verified in (0) secs or (0) ms/input
20181108T111423 DEBUG [blockchain] Orphan pool removed block [c5e0ab0db1d3ee94fd4a099b92e3400ed25a6fd431b8c090137437a3c0bf8b49] old size (1). with status: success
20181108T111423 DEBUG [blockchain] push block height:33430 hash:c5e0ab0db1d3ee94fd4a099b92e3400ed25a6fd431b8c090137437a3c0bf8b49
20181108T111423 DEBUG [blockchain] Reorganize: tx pool size (0) forked at (33429) new blocks (1) replace blocks (0)
20181108T111423 DEBUG [blockchain] Orphan pool added block [9a4ae3ff446245c3c7bba3c069515d8a9fd62f30cb1706fdda3c0fb6b16c5244] previous [c5e0ab0db1d3ee94fd4a099b92e3400ed25a6fd431b8c090137437a3c0bf8b49] old size (0).

test_issue[bug]

  1. there are fewer parameters in the import account, and fewer hints are needed to add users and passwords.
    2.start mining without reaction stop mining process stuck

startmining from 0 height of block ,ucd crashed[bug]

20181029T162049 INFO [ucd] Ucd version is 0.0.1
20181029T162049 INFO [ucd] Using config file: "/Users/cary/Library/Application Support/UChain"
20181029T162049 INFO [ucd] Please wait while the server is starting...
20181029T162049 INFO [node] Starting manual session.
20181029T162049 INFO [network] Contacting seed [main-uchain-a.live:5678]
20181029T162049 INFO [network] Contacting seed [main-uchain-b.live:5678]
20181029T162049 INFO [network] Contacting seed [main-uchain-c.live:5678]
20181029T162049 INFO [network] Contacting seed [main-uchain-d.live:5678]
20181029T162049 INFO [network] Contacting seed [main-uchain-e.live:5678]
20181029T162049 INFO [network] Contacting seed [main-uchain-f.live:5678]
20181029T162049 INFO [network] Contacting seed [seed.getuc.org:5678]
20181029T162054 INFO [network] Failure contacting seed [main-uchain-a.live:5678] connection timed out
20181029T162054 INFO [network] Failure contacting seed [main-uchain-b.live:5678] connection timed out
20181029T162054 INFO [network] Failure contacting seed [main-uchain-c.live:5678] connection timed out
20181029T162054 INFO [network] Failure contacting seed [main-uchain-d.live:5678] connection timed out
20181029T162054 INFO [network] Failure contacting seed [main-uchain-e.live:5678] connection timed out
20181029T162054 INFO [network] Failure contacting seed [main-uchain-f.live:5678] connection timed out
20181029T162054 INFO [network] Failure contacting seed [seed.getuc.org:5678] connection timed out
20181029T162054 INFO [ucd] Seeding is complete.
20181029T162054 INFO [http] Http Service listen on 127.0.0.1:8707
20181029T162054 INFO [mgserver] Websocket Service listen on 127.0.0.1:28707
20181029T162054 INFO [network] session_seed complete!
20181029T162054 INFO [node] Node start height is (0).
20181029T162054 INFO [node] Starting inbound session.
20181029T162054 INFO [node] Starting outbound session.
20181029T162054 INFO [ucd] Bound public query service to tcp://*:18707
20181029T162054 INFO [ucd] Server is started.
20181029T162057 INFO [upnp] No valid UPnP IGDs found
20181029T162156 INFO [consensus] solo miner start with address: UkRYvsnfJkwSTAUCcZnqCK8sE1ZYJP6so7
Segmentation fault: 11

vote for second time it will not succeed [bug]

localhost:bin cary$ ./uc-cli vote yangguanglu 123456 UNfrtAxhJRi83PjTPjV3yNPKnjLYR22Bhx Ughe1bqD5xbrBzDX4mH5t1r9cueZqu8c5x 1
{
"code" : 5304,
"message" : "validate transaction failure. Transaction:\n\tversion = 4\n\tlocktime = 0\nInputs:\n\thash = 6d71c95c0e10770ebacdeb2da7fb3218cfa580756483f2446361263b44a86dd3\n\tindex = 0\n\t[ 304402205cbae099457129f23ff518c6fa09e7f48528082fd625b5129d125ef667eca8800220431acff6276cabb44b01e6a8d928d06bd488e53613ac357812c9e4a475bf16f401 ] [ 0386e78227d2e2a80e5d99a727a48b67501ea87223634544a38ae1c1720e59167d ]\n\tsequence = 4294967295\n\thash = 3a4e3cb0f10b8ee82313728c03ea051fae10aecd40a624418e005d6800f443b3\n\tindex = 0\n\t[ 3045022100a7b5316b8ba4924a4162c52478d1137845bac998555ef4e20a2d16ff4243a36202203729d8b14cbdb09956deecfcd1681b3aa829884411c1673e4ab06c31393b809101 ] [ 0386e78227d2e2a80e5d99a727a48b67501ea87223634544a38ae1c1720e59167d ]\n\tsequence = 4294967295\n\thash = d42f573e37b45580d30a383939ca2ea80ff231cc0aece4e0353fd55cc641839e\n\tindex = 1\n\t[ 304402202e15833e84590666f25b70ad25114126a81885cee514e596ae89685200ba87450220110ea3c7898224e74b169cd353977754b66cac28505a21324571fa55e47ee9b501 ] [ 0386e78227d2e2a80e5d99a727a48b67501ea87223634544a38ae1c1720e59167d ]\n\tsequence = 4294967295\nOutputs:\n\tvalue = 5000\n\t[ 004605 ] numequalverify dup hash160 [ 078910a58cea508623e2be9b38beb6e7d576e880 ] equalverify checksig\n\t\t version = 1\n\t type = 0\n\t value = 5000\n\n\tvalue = 0\n\tdup hash160 [ cd516a86ff6fa4d13ce004705c447fd363210b51 ] equalverify checksig\n\t\t version = 1\n\t type = 2\n\t status = 2\n\t symbol = VOTE\n\t quantity = 1\n\n\tvalue = 5000\n\tdup hash160 [ f62705a6cfc44ad47792988464b6e47a06ef114a ] equalverify checksig\n\t\t version = 1\n\t type = 0\n\t value = 5000\n\n\n"
}

when stop synchronized block ,restart the block height is not the same with the stop height[bug]

20181108T102446 INFO [blockchain] Block [31157] verify (1) txs and (1) inputs
20181108T102446 INFO [blockchain] Block [31157] verified in (0) secs or (0) ms/input
20181108T102446 INFO [blockchain] Block [31158] verify (1) txs and (1) inputs
20181108T102446 INFO [blockchain] Block [31158] verified in (0) secs or (0) ms/input
20181108T102446 INFO [blockchain] Block [31159] verify (1) txs and (1) inputs
20181108T102446 INFO [blockchain] Block [31159] verified in (0) secs or (0) ms/input
20181108T102446 INFO [blockchain] Block [31160] verify (1) txs and (1) inputs
20181108T102446 INFO [blockchain] Block [31160] verified in (0) secs or (0) ms/input
^C20181108T102839 INFO [ucd] Stop signal detected (code: 2).
20181108T102839 INFO [ucd] Please wait while the server is stopping...
20181108T102840 INFO [http] Http Service Stopped.
20181108T102840 INFO [mgserver] Websocket Service Stopped.
20181108T102842 INFO [node] Server stopped successfully.
it costs 259 seconds, rx,624508, tx,351385
localhost:bin cary$ ./ucd
20181108T102843 INFO [ucd] Ucd version is 0.0.1
20181108T102843 INFO [ucd] Using config file: "/Users/cary/Library/Application Support/UChain/uc.conf"
20181108T102843 INFO [ucd] Please wait while the server is starting...
20181108T102843 INFO [node] Starting manual session.
20181108T102843 INFO [ucd] Seeding is complete.
20181108T102843 INFO [http] Http Service listen on 0.0.0.0:8820
20181108T102843 INFO [mgserver] Websocket Service listen on 0.0.0.0:8821
20181108T102843 INFO [node] Node start height is (31143).
20181108T102843 INFO [node] Starting inbound session.
20181108T102843 INFO [node] Starting outbound session.
20181108T102843 INFO [ucd] Bound public query service to tcp://*:18707
20181108T102843 INFO [ucd] Server is started.
20181108T102851 INFO [upnp] No valid UPnP IGDs found

coinbase tx need to be modify to avoid fragmentation of utxo[requirment]

Carys-MacBook-Pro:bin cary$ ./uc-cli showblock 1
{
"hash" : "ea7e1c1963aa19e4cecac73b0111583842168f12f7ca8291e1b03374793cce5a",
"merkle_tree_hash" : "a6bcb994c9068612bfe807613e54531d2559b2de95cde48aba29d4fea4a3fb19",
"number" : 2,
"previous_block_hash" : "235b8ca16414a9a10649abcc590fd46fda273374ed8e6120ea16e53b78ca9ccc",
"timestamp" : 1541474251,
"transaction_count" : 1,
"transactions" :
[
{
"hash" : "a6bcb994c9068612bfe807613e54531d2559b2de95cde48aba29d4fea4a3fb19",
"inputs" :
[
{
"previous_output" :
{
"hash" : "0000000000000000000000000000000000000000000000000000000000000000",
"index" : 4294967295
},
"script" : "[ 0102 ]",
"sequence" : 0
}
],
"lock_time" : "0",
"outputs" :
[
{
"address" : "UkRYvsnfJkwSTAUCcZnqCK8sE1ZYJP6so7",
"asset" :
{
"type" : "ucn"
},
"index" : 0,
"locked_height_range" : 0,
"script" : "dup hash160 [ f62705a6cfc44ad47792988464b6e47a06ef114a ] equalverify checksig",
"value" : 10000
},
{
"address" : "UkRYvsnfJkwSTAUCcZnqCK8sE1ZYJP6so7",
"asset" :
{
"quantity" : 1,
"symbol" : "BLOCK",
"type" : "token-transfer"
},
"index" : 1,
"locked_height_range" : 0,
"script" : "dup hash160 [ f62705a6cfc44ad47792988464b6e47a06ef114a ] equalverify checksig",
"value" : 0
}
],
"version" : "1"
}
],
"version" : 1
}

CentOS Link error[error]

Linking CXX executable ../../../bin/ucd
cd /root/uchain/uchain-fullnode/build1/src/UChainApp/ucd && /usr/bin/cmake -E cmake_link_script CMakeFiles/ucd.dir/link.txt --verbose=1
/opt/rh/devtoolset-4/root/usr/bin/c++ -std=c++14 -fstrict-aliasing -fvisibility=hidden -Wall -Wextra -Wstrict-aliasing=2 -Wno-unused-parameter -Wno-unused-variable -Wno-type-limits -pthread -fno-enforce-eh-specs -fnothrow-opt -Wno-reorder -Wno-ignored-qualifiers -Wno-unused-function -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-but-set-parameter -Wno-implicit-fallthrough -Wno-deprecated-declarations -O3 -DNDEBUG -static-libstdc++ CMakeFiles/ucd.dir/server/server_node.cpp.o CMakeFiles/ucd.dir/server/interface/address.cpp.o CMakeFiles/ucd.dir/server/interface/protocol.cpp.o CMakeFiles/ucd.dir/server/interface/transaction_pool.cpp.o CMakeFiles/ucd.dir/server/interface/blockchain.cpp.o CMakeFiles/ucd.dir/server/utility/fetch_helpers.cpp.o CMakeFiles/ucd.dir/server/utility/authenticator.cpp.o CMakeFiles/ucd.dir/server/settings.cpp.o CMakeFiles/ucd.dir/server/address_key.cpp.o CMakeFiles/ucd.dir/server/config.cpp.o CMakeFiles/ucd.dir/server/messages/route.cpp.o CMakeFiles/ucd.dir/server/messages/message.cpp.o CMakeFiles/ucd.dir/server/services/query_service.cpp.o CMakeFiles/ucd.dir/server/services/block_service.cpp.o CMakeFiles/ucd.dir/server/services/heartbeat_service.cpp.o CMakeFiles/ucd.dir/server/services/transaction_service.cpp.o CMakeFiles/ucd.dir/server/workers/notification_worker.cpp.o CMakeFiles/ucd.dir/server/workers/query_worker.cpp.o CMakeFiles/ucd.dir/server/parser.cpp.o CMakeFiles/ucd.dir/main.cpp.o CMakeFiles/ucd.dir/executor.cpp.o -o ../../../bin/ucd -rdynamic /usr/local/lib/libboost_date_time.a /usr/local/lib/libboost_filesystem.a /usr/local/lib/libboost_system.a /usr/local/lib/libboost_program_options.a /usr/local/lib/libboost_regex.a /usr/local/lib/libboost_thread.a ../../../lib/libuc_network.a ../../../lib/libuc_data.a ../../../lib/libuc_database.a ../../../lib/libuc_consensus.a ../../../lib/libuc_blockchain.a ../../../lib/libuc_txs.a ../../../lib/libuc_bitcoin.a ../../../lib/libmongoose.a ../../../lib/libuc_node.a ../../../lib/libuc_protocol.a ../../../lib/libuc_client.a ../../../lib/libuc_explorer.a ../../../lib/libuc_api.a ../../../lib/libcryptojs.a ../../../lib/libuc_explorer.a ../../../lib/libuc_network.a /usr/local/lib/libminiupnpc.a ../../../lib/libuc_blockchain.a ../../../lib/libuc_data.a ../../../lib/libuc_database.a ../../../lib/libuc_consensus.a ../../../lib/libethash.a -lpthread -lm ../../../lib/libuc_client.a ../../../lib/libuc_protocol.a ../../../lib/libuc_txs.a ../../../lib/libuc_bitcoin.a /usr/local/lib/libboost_date_time.a /usr/local/lib/libboost_filesystem.a /usr/local/lib/libboost_system.a /usr/local/lib/libboost_program_options.a /usr/local/lib/libboost_regex.a /usr/local/lib/libboost_thread.a /usr/local/lib/libsecp256k1.a ../../../lib/libuc_bitcoinmath.a /usr/local/lib/libzmq.a ../../../lib/libjsoncpp.a
../../../lib/libuc_explorer.a(generated.cpp.o):在函数‘libbitcoin::explorer::find(std::string const&)’中:
generated.cpp:(.text+0x2ce):对‘libbitcoin::explorer::find_extension(std::string const&)’未定义的引用
../../../lib/libuc_explorer.a(generated.cpp.o):在函数‘libbitcoin::explorer::broadcast(std::function<void (std::shared_ptrlibbitcoin::explorer::command)>, std::ostream&)’中:
generated.cpp:(.text+0xca2):对‘libbitcoin::explorer::broadcast_extension(std::function<void (std::shared_ptrlibbitcoin::explorer::command)>, std::ostream&)’未定义的引用
collect2: error: ld returned 1 exit status
make[2]: *** [bin/ucd] 错误 1
make[2]: 离开目录“/root/uchain/uchain-fullnode/build1”
make[1]: *** [src/UChainApp/ucd/CMakeFiles/ucd.dir/all] 错误 2
make[1]: 离开目录“/root/uchain/uchain-fullnode/build1”
make: *** [all] 错误 2

dpos miner does not work[bug]

localhost:bin cary$ ./ucd
20181105T101240 INFO [ucd] Ucd version is 0.0.1
20181105T101240 INFO [ucd] Using config file: "/Users/cary/Library/Application Support/UChain"
20181105T101240 INFO [ucd] Please wait while the server is starting...
20181105T101240 INFO [node] Starting manual session.
20181105T101240 INFO [network] Contacting seed [main-uchain-a.live:5678]
20181105T101240 INFO [network] Contacting seed [main-uchain-b.live:5678]
20181105T101240 INFO [network] Contacting seed [main-uchain-c.live:5678]
20181105T101240 INFO [network] Contacting seed [main-uchain-d.live:5678]
20181105T101240 INFO [network] Contacting seed [main-uchain-e.live:5678]
20181105T101240 INFO [network] Contacting seed [main-uchain-f.live:5678]
20181105T101240 INFO [network] Contacting seed [seed.getuc.org:5678]
20181105T101245 INFO [network] Failure contacting seed [main-uchain-a.live:5678] connection timed out
20181105T101245 INFO [network] Failure contacting seed [main-uchain-b.live:5678] connection timed out
20181105T101245 INFO [network] Failure contacting seed [main-uchain-c.live:5678] connection timed out
20181105T101246 INFO [network] Failure contacting seed [main-uchain-d.live:5678] connection timed out
20181105T101247 INFO [network] Failure contacting seed [main-uchain-e.live:5678] connection timed out
20181105T101247 INFO [network] Failure contacting seed [main-uchain-f.live:5678] connection timed out
20181105T101247 INFO [network] Failure contacting seed [seed.getuc.org:5678] connection timed out
20181105T101247 INFO [ucd] Seeding is complete.
20181105T101247 INFO [http] Http Service listen on 127.0.0.1:8707
20181105T101247 INFO [mgserver] Websocket Service listen on 127.0.0.1:28707
20181105T101247 INFO [network] session_seed complete!
20181105T101247 INFO [node] Node start height is (33649).
20181105T101247 INFO [node] Starting inbound session.
20181105T101247 INFO [node] Starting outbound session.
20181105T101247 INFO [ucd] Bound public query service to tcp://*:18707
20181105T101247 INFO [ucd] Server is started.
20181105T101248 INFO [upnp] No valid UPnP IGDs found
20181105T101319 INFO [consensus] solo miner start with address: UXFQvGKWh8GzEtV1RNw2Vo1abnynPy58u1
20181105T101319 ERROR [consensus] UXFQvGKWh8GzEtV1RNw2Vo1abnynPy58u1 is not a miner address
20181105T101501 INFO [consensus] solo miner start with address: UkRYvsnfJkwSTAUCcZnqCK8sE1ZYJP6so7

[UIP0.2]Consensus version of UChain

UPOS, user proof of stake.
1.implement a block is produced in 0.5 second.
2.implement 21 nodes produce block by turn.
3.implement PBFT between 21 nodes.
4.implement token.
5.implement two system token "Vote" and "Block".
6.implement block lock.

Sendrawtx command execution error [bug]

tony@ubuntu:~$ uc-cli sendrawtx 040000000107a415d81983cad794a5360ae65ef4920856668b15efd433d44aa01801a7d54800000000920047304402200c9a90fe366919124f9508044b518c7619f3a68a3cf2569efb468f53a7485bae0220253a8932ed89994cd557967d6e8393bb0e5c6e9ccf323a94f24ca7625f524b27014c475221034ead1a3f9a596aeaf20bb0f0b1523f6ef0ecce08680c1ffab31b456e03f3d8762103fb1e73da4a233f71d3d612c57820455ebead869686aaecf2156800d9eb8f666a52aeffffffff0240420f00000000001976a914353a7701c6201f641faaeb369ad504438af48a0588ac0100000000000000301b0f000000000017a91489af01eb5f3f15cb56f5096676b6f5e05dad720a87010000000000000000000000
{
"code" : 5304,
"message" : "validate transaction failure"
}

Invalid pong nonce when add my IP to the node.[bug]

20181113T223354 WARNING [blockchain] push pendingblock hash:b9081331557d47096ad9f39388c1c52065a3b89ad55066ecf8a8d1716826ae37 process_block hash:1603b9719fbcb9bf6569d0575b12b1612274d4232830ef6a272c5ec8a8d8a7c7
20181113T223354 WARNING [blockchain] push pendingblock hash:b9081331557d47096ad9f39388c1c52065a3b89ad55066ecf8a8d1716826ae37 process_block hash:1404663b8279d67374b56cb19a028efd9d9f05c9717a872d6f38f09a0d3a0b20
20181113T223355 WARNING [blockchain] push pendingblock hash:b9081331557d47096ad9f39388c1c52065a3b89ad55066ecf8a8d1716826ae37 process_block hash:37bb1a20a3076578c21abf9191234b5a64cd8fd303c8b87da3930b5e58410869
20181113T223356 WARNING [blockchain] push pendingblock hash:b9081331557d47096ad9f39388c1c52065a3b89ad55066ecf8a8d1716826ae37 process_block hash:b7e3b3ccdb0b2156a990d6de938c2540d54f7313442b103a28cb12c66281c3c3
20181113T223356 WARNING [blockchain] push pendingblock hash:b9081331557d47096ad9f39388c1c52065a3b89ad55066ecf8a8d1716826ae37 process_block hash:a18a01823f502f77f87738a072b36138b6b4dfb231cb8901d07c1eef355c2a7f
20181113T223357 WARNING [blockchain] push pendingblock hash:b9081331557d47096ad9f39388c1c52065a3b89ad55066ecf8a8d1716826ae37 process_block hash:5516b333158b4435c060e9a6fcf2fd42f9181b57a954cd0d48f6c64bed7f22dc
20181113T223357 WARNING [blockchain] push pendingblock hash:b9081331557d47096ad9f39388c1c52065a3b89ad55066ecf8a8d1716826ae37 process_block hash:1ddb4f5ccfe09e10b6f40e922aea732ee3a2b35eaa8969a8bef1dfda9cc53ae7
20181114T001128 WARNING [network] Invalid pong nonce from [192.168.16.142:5682]
20181114T014016 ERROR [node] Blockchain failed to start.
20181114T014016 ERROR [ucd] Server failed to start with error, operation failed.

uc-cli showpeerinfo
[
"192.168.16.157:38956",
"192.168.16.157:5682",
"116.62.238.230:5682",
"192.168.16.142:50838",
"192.168.16.142:5682"
]

deposit test[test]

deposit test height: {1728000, 7776000, 20736000, 41472000, 93312000};
deposit rewards: {300000, 1990000, 5200000, 10000000, 24000000};

check if the logic is correct

vote coinbase is useless ,value =0 and has nothing else[bug]

./uc-cli showblock 22401
{
"bits" : "10",
"hash" : "1228b7a50f071831d583fa747c1439005fb3f64dea4b4a0e9b295640a29af2b7",
"merkle_tree_hash" : "57e374d8bc51acf5ce6978540f1f0aac71421841f655152b298737a5121c2ee0",
"mixhash" : "56667354250779342226461823063581821423947739516576578976349897385486089995912",
"nonce" : "15277487032237240731",
"number" : 22401,
"previous_block_hash" : "3c836cf7ce5ec37835ab4f55fdaf28c993aa4af4081aa4036bed08e39d653689",
"timestamp" : 1541055954,
"transaction_count" : 3,
"transactions" :
[
{
"hash" : "e57b1c20ad246d0dae962246fcf63484fe2f5949963eca56928fd423c8026bf8",
"inputs" :
[
{
"previous_output" :
{
"hash" : "0000000000000000000000000000000000000000000000000000000000000000",
"index" : 4294967295
},
"script" : "[ 028157 ]",
"sequence" : 0
}
],
"lock_time" : "0",
"outputs" :
[
{
"address" : "UkRYvsnfJkwSTAUCcZnqCK8sE1ZYJP6so7",
"asset" :
{
"type" : "ucn"
},
"index" : 0,
"locked_height_range" : 0,
"script" : "dup hash160 [ f62705a6cfc44ad47792988464b6e47a06ef114a ] equalverify checksig",
"value" : 20000
},
{
"address" : "UkRYvsnfJkwSTAUCcZnqCK8sE1ZYJP6so7",
"asset" :
{
"quantity" : 1,
"symbol" : "BLOCK",
"type" : "token-transfer"
},
"index" : 1,
"locked_height_range" : 0,
"script" : "dup hash160 [ f62705a6cfc44ad47792988464b6e47a06ef114a ] equalverify checksig",
"value" : 0
}
],
"version" : "1"
},
{
"hash" : "b0d30da1b127951511c991364e33cb94911af4904b79581a824965e87ae6099a",
"inputs" :
[
{
"previous_output" :
{
"hash" : "0000000000000000000000000000000000000000000000000000000000000000",
"index" : 4294967295
},
"script" : "[ 028157 ]",
"sequence" : 0
}
],
"lock_time" : "22399",
"outputs" :
[
{
"address" : "UNfrtAxhJRi83PjTPjV3yNPKnjLYR22Bhx",
"asset" :
{
"type" : "ucn"
},
"index" : 0,
"locked_height_range" : 345600,
"script" : "[ 004605 ] numequalverify dup hash160 [ 078910a58cea508623e2be9b38beb6e7d576e880 ] equalverify checksig",
"value" : 0
},
{
"address" : "UNfrtAxhJRi83PjTPjV3yNPKnjLYR22Bhx",
"asset" :
{
"quantity" : 1,
"symbol" : "BLOCK",
"type" : "token-transfer"
},
"index" : 1,
"locked_height_range" : 345600,
"script" : "[ 004605 ] numequalverify dup hash160 [ 078910a58cea508623e2be9b38beb6e7d576e880 ] equalverify checksig",
"value" : 0
}
],
"version" : "1"
},
{
"hash" : "b3357421af0434c4d3d8e42433903d8f653803f3d2418d942ea0bed2e1da6384",
"inputs" :
[
{
"address" : "UkRYvsnfJkwSTAUCcZnqCK8sE1ZYJP6so7",
"previous_output" :
{
"hash" : "3209d93bc7f20364952aedaac876eb2001508f33a4a2145039e982c830c33fb1",
"index" : 0
},
"script" : "[ 3045022100c9a6e25655e9eb0202351e05e048b59b62672d00de1ee96e2984258d0be83a17022078df40602dbcfe9bfcb9100d6ff9529a8830662ed0f28854dd7b7e3fc16ed66801 ] [ 0386e78227d2e2a80e5d99a727a48b67501ea87223634544a38ae1c1720e59167d ]",
"sequence" : 4294967295
},
{
"address" : "UkRYvsnfJkwSTAUCcZnqCK8sE1ZYJP6so7",
"previous_output" :
{
"hash" : "2da6f0b77b6367d11f9c84b81213a6e5dbf830211f23bbde367babdf7d82f369",
"index" : 0
},
"script" : "[ 304402201bd11ce945ea2b01402f687d466fb5ddc303e5959d9ff320f4ef73601ee6b567022055ab453f6a59af1abca2e9fd0d3bf8e5754471741d8807924a998d84d0b658db01 ] [ 0386e78227d2e2a80e5d99a727a48b67501ea87223634544a38ae1c1720e59167d ]",
"sequence" : 4294967295
}
],
"lock_time" : "0",
"outputs" :
[
{
"address" : "UNfrtAxhJRi83PjTPjV3yNPKnjLYR22Bhx",
"asset" :
{
"type" : "ucn"
},
"index" : 0,
"locked_height_range" : 345600,
"script" : "[ 004605 ] numequalverify dup hash160 [ 078910a58cea508623e2be9b38beb6e7d576e880 ] equalverify checksig",
"value" : 5000
},
{
"address" : "Ughe1bqD5xbrBzDX4mH5t1r9cueZqu8c5x",
"asset" :
{
"quantity" : 1,
"symbol" : "VOTE",
"type" : "token-transfer"
},
"index" : 1,
"locked_height_range" : 0,
"script" : "dup hash160 [ cd516a86ff6fa4d13ce004705c447fd363210b51 ] equalverify checksig",
"value" : 0
},
{
"address" : "UkRYvsnfJkwSTAUCcZnqCK8sE1ZYJP6so7",
"asset" :
{
"type" : "ucn"
},
"index" : 2,
"locked_height_range" : 0,
"script" : "dup hash160 [ f62705a6cfc44ad47792988464b6e47a06ef114a ] equalverify checksig",
"value" : 5000
}
],
"version" : "4"
}
],
"version" : 1
}

destroy command execution error [bug]

tony@ubuntu:~$ uc-cli destroy xiaoyu 123456 BLOCK 100
{
"code" : 1020,
"message" : "'sendtoken' is not a command. Enter 'help' for a list of commands."
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.