OSDN Git Service
Chengcheng Zhang [Fri, 20 Jul 2018 09:42:42 +0000 (17:42 +0800)]
fix comment (#1152)
* fix comment
* delete pem
yahtoo [Fri, 20 Jul 2018 08:34:32 +0000 (16:34 +0800)]
Add netsync node error handler (#1151)
yahtoo [Fri, 20 Jul 2018 05:27:04 +0000 (13:27 +0800)]
Fix txSyncLoop null pointer error (#1150)
Paladz [Fri, 20 Jul 2018 02:13:29 +0000 (10:13 +0800)]
add utxo_opt algorithm (#1149)
* add utxo_opt algorithm
* edit the unit test
* edit the comment
HAOYUatHZ [Thu, 19 Jul 2018 14:05:24 +0000 (22:05 +0800)]
Dev simd (#1146)
* Adapt.
* re-arrange package
* Update Makefile
yahtoo [Thu, 19 Jul 2018 12:16:39 +0000 (20:16 +0800)]
Fix node discovery table delete entry bug (#1139)
oysheng [Thu, 19 Jul 2018 11:30:16 +0000 (19:30 +0800)]
equity compiler (#1144)
* add equity compiler API
* modify name declared_type to type
* optimise equity compile API
* optimise
* modify compile API
* optimise
* optimise params
* optimise params
* add equity index
* add equity Authenticate
* add the equity.go to the production
* add print log while validate transaction fail
* add test for VM
* add the equity dashboard
* delete test log
* fixed the equity corss-origin error and remove escrow contract template
yahtoo [Thu, 19 Jul 2018 11:09:05 +0000 (19:09 +0800)]
Add block fast sync function (#1104)
* Add block headers handler for fast sync
* Add testnet checkpoint
* Add debug info
* Fix GetHeadersMessage bug
* Add debug info
* Fix HeadersMessage bug
* Add HeadersMessage handler
* Fast sync call BlockRequestWorker download block
* Add debug info for measure time
* Add getBlocks for fast sync
* Fix code logic errors
* Del unused variable headersFirstMode
* Fix hash string compare error
* Fix code logic errors
* Fix blocksSend logic error
* Optimize log printing
* Add max blocksMsg package size limit
* Modify fast sync node selection logic
* Fix multi checkpoint fast sync error
* Del unused code prevGetHdrsMtx
* Add fast sync txs merkle root check
* Add fast sync complete new status broadcast
* Change variable hash format
* edit the code format
* delete the unused checkpoint
* edit netsync message byte
* Fix Duplicate Byte BlockRequestMessage
* Add testnet checkpoint
* tmp save
* edit the handle logic
* edit the fast sync
* move tx process out of blockKeeper
* elegant the message
* elegant the peer.go
* elegant block_keeper
* elegant the block_fetcher
* fix api node info bug
* delete unused data
* edit the tx_keeper
* edit ban method
* make sure both size sync tx
* add response bool on every send
* handle all the peer dc
* merge with dev
* fix bug on merge with dev
* add max block peer msg limit
* limit the max send block size
* fix the web wallet display bug
* fix hand shake timepout error
* fix logic if statement
* edit the services flag bug
* add error message log
* edit blocks/headers, marshal/unmarshal
* edit the message field name
* fix sync logic bug
* fix sync bug
* fix a code logic error
oysheng [Thu, 19 Jul 2018 11:06:41 +0000 (19:06 +0800)]
reorganize error code (#1133)
* modify errors for build-transaction
* submit transaction error
* modify onlyHaveSpendActions to onlyHaveInputActions
add build-transaction error code
* modify validation error
* add vm error
* add hsm error
* modify run VM error
* modify rum VM wrapErr function
Zhiting Lin [Thu, 19 Jul 2018 03:01:35 +0000 (11:01 +0800)]
update dashboard (#1143)
yahtoo [Wed, 18 Jul 2018 07:52:10 +0000 (15:52 +0800)]
Add timeout did not confirm txs del function (#1141)
* Add timeout did not confirm txs del function
* Fix code review problem
yahtoo [Sat, 14 Jul 2018 10:42:15 +0000 (18:42 +0800)]
Merge pull request #1137 from Bytom/v1.0.3_fix
V1.0.3 fix
paladz [Sat, 14 Jul 2018 09:24:03 +0000 (17:24 +0800)]
fix the coinbase generate bug
oysheng [Thu, 12 Jul 2018 06:35:13 +0000 (14:35 +0800)]
fix unit test for ispushdata (#1132)
oysheng [Wed, 11 Jul 2018 02:31:37 +0000 (10:31 +0800)]
decode-raw-transaction API add tx_id and txinput add input_id (#1130)
muscle_boy [Tue, 10 Jul 2018 06:17:34 +0000 (14:17 +0800)]
estimate gas support multi-sign (#1126)
* the transaction output amout prohibit set zero
* add network access control api
* format import code style
* refactor
* code refactor
* bug fix
* the struct node_info add json field
* estimate gas support multi-sign
* add testcase of estimate gas
* add testcase
* bug fix
* add test case
* test case refactor
Paladz [Tue, 10 Jul 2018 03:16:19 +0000 (11:16 +0800)]
init version for list-unspend-output support 0 confirmed utxo (#1129)
* init version for list-unspend-output support 0 confirmed utxo
* add unit test for list 0 confirmed utxo
oysheng [Mon, 9 Jul 2018 08:36:16 +0000 (16:36 +0800)]
modify equity to available (#1127)
* modify function name from greater/less to below/above
* modify CHECKOUTPUT instruction
* modify path
* modify ivy to equity
* add func IsPushdata
oysheng [Fri, 6 Jul 2018 08:07:30 +0000 (16:07 +0800)]
add contract template LoanCollateral (#1125)
add contract template CallOption
Paladz [Thu, 5 Jul 2018 14:45:33 +0000 (22:45 +0800)]
fix the file path bug (#1124)
Paladz [Thu, 5 Jul 2018 13:02:37 +0000 (21:02 +0800)]
init push for spend 0 confirm utxo (#1112)
* init push for spend 0 confirm utxo
* elegant the code
* add unit test for utxo_keeper
* add unit test for wallet/utxo.go
* fix a unit test bug
* delete the unused control_receiver
muscle_boy [Wed, 4 Jul 2018 08:55:09 +0000 (16:55 +0800)]
the struct of node_info add json field (#1120)
* the transaction output amout prohibit set zero
* add network access control api
* format import code style
* refactor
* code refactor
* bug fix
* the struct node_info add json field
muscle_boy [Wed, 4 Jul 2018 08:05:40 +0000 (16:05 +0800)]
add network access control api (#1118)
* the transaction output amout prohibit set zero
* add network access control api
* format import code style
* refactor
* code refactor
* bug fix
oysheng [Wed, 4 Jul 2018 07:30:50 +0000 (15:30 +0800)]
delete equity time type (#1119)
* delete equity time type
add blockHeight field and add internal function greater and less
* delete time related
oysheng [Tue, 3 Jul 2018 07:48:23 +0000 (15:48 +0800)]
add contract template escrow (#1117)
successli [Tue, 3 Jul 2018 06:47:17 +0000 (14:47 +0800)]
Add bytomd command line param about setting log level (#1115)
* add bytomd command line param about log level
* default set to info and rm pre-setting for log level
oysheng [Tue, 3 Jul 2018 06:14:12 +0000 (14:14 +0800)]
add contract TradeOffer template (#1116)
* add contract TradeOffer template
* refactor template contract
* fix error result
oysheng [Mon, 2 Jul 2018 09:04:04 +0000 (17:04 +0800)]
delete time waiter (#1111)
muscle_boy [Mon, 2 Jul 2018 08:49:16 +0000 (16:49 +0800)]
the transaction output amout prohibit set zero (#1109)
oysheng [Mon, 2 Jul 2018 08:45:16 +0000 (16:45 +0800)]
fix rescan wallet (#1108)
* fix rescan wallet
* optimise
broadroad [Fri, 29 Jun 2018 03:07:31 +0000 (11:07 +0800)]
miss return when error (#1100)
Paladz [Fri, 29 Jun 2018 02:47:52 +0000 (10:47 +0800)]
elegant the code for utxo reserver (#1105)
* elegant the code for utxo reserver
* fix bug
oysheng [Thu, 28 Jun 2018 08:23:20 +0000 (16:23 +0800)]
add contract template LockWithPublicKeyHash and RevealPreimage (#1101)
adjust contract template structure
oysheng [Thu, 28 Jun 2018 08:13:48 +0000 (16:13 +0800)]
rescan-wallet capture rescan signal (#1102)
* rescan-wallet capture rescan signal
* optimise
oysheng [Wed, 27 Jun 2018 06:41:45 +0000 (14:41 +0800)]
add multisig contract template (#1095)
oysheng [Wed, 27 Jun 2018 06:30:04 +0000 (14:30 +0800)]
add getWalletInfo API to acquire rescan wallet schedule (#1098)
Paladz [Tue, 26 Jun 2018 07:52:55 +0000 (15:52 +0800)]
add checkpoint into the block keeper (#1093)
* add checkpoint into the block keeper
* edit for code review
oysheng [Mon, 25 Jun 2018 12:05:05 +0000 (20:05 +0800)]
refactor spend_account_unspent_output struct for add contract arguments (#1089)
* refactor spend_account_unspent_output struct for add contract arguments
add the contract template LockWithPublicKey for build-transaction
* optimise arguments
add unit test
* optimise unit test
* optimise struct
yahtoo [Mon, 25 Jun 2018 12:03:11 +0000 (20:03 +0800)]
Merge pull request #1090 from Bytom/add_fastsync_flag
enable the fast sync server flag
paladz [Mon, 25 Jun 2018 11:37:06 +0000 (19:37 +0800)]
enable the fast sync server flag
Chengcheng Zhang [Fri, 22 Jun 2018 01:48:43 +0000 (09:48 +0800)]
Gm (#1085)
* update .gitignore
* add OP_SM3
* add OP_SM3 test
oysheng [Thu, 21 Jun 2018 13:43:06 +0000 (21:43 +0800)]
add list-pubkeys API (#1086)
* add list-pubkeys API
* modify response of list-pubkeys
RockerFlower [Thu, 21 Jun 2018 05:36:15 +0000 (13:36 +0800)]
Update release-notes-1.0.3.md (#1079)
Fix the link of Bytom User Manual.
oysheng [Thu, 21 Jun 2018 02:38:28 +0000 (10:38 +0800)]
modify MergeSpendAction order by origin action list (#1048)
* modify MergeSpendAction order by origin action list
* optimise
oysheng [Wed, 20 Jun 2018 13:40:27 +0000 (21:40 +0800)]
API list-unspent-outputs add filter for contract (#1076)
Derek [Wed, 20 Jun 2018 10:15:57 +0000 (18:15 +0800)]
add arbitrary for retire (#1065)
* add rescan-blocks api
* rename rescan-blocks to rescan-wallet
* rename rescanWallet to rescanWallet
* add arbitrary for retire
* retireAction needs a program
* retireAction used address
* add RetireProgram for script
* update RetireProgram for script
Paladz [Wed, 20 Jun 2018 08:15:29 +0000 (16:15 +0800)]
Merge pull request #1081 from Bytom/equity-origin
equity origin compiler
oysheng [Wed, 20 Jun 2018 06:17:30 +0000 (14:17 +0800)]
equity origin compiler
Paladz [Tue, 19 Jun 2018 06:29:15 +0000 (14:29 +0800)]
Merge pull request #1077 from Bytom/dev-discv-temp
gofmt
HAOYUatHZ [Tue, 19 Jun 2018 06:21:19 +0000 (14:21 +0800)]
gofmt
Paladz [Tue, 19 Jun 2018 03:15:10 +0000 (11:15 +0800)]
Merge pull request #1075 from Bytom/prod
Prod
Paladz [Tue, 19 Jun 2018 03:13:50 +0000 (11:13 +0800)]
Merge pull request #1074 from Bytom/dev
Dev
Paladz [Tue, 19 Jun 2018 03:11:27 +0000 (11:11 +0800)]
Merge pull request #1073 from Bytom/p2p_disv
Change peer discv resp timeout
Yahtoo Ma [Tue, 19 Jun 2018 02:29:51 +0000 (10:29 +0800)]
Change peer discv resp timeout
Paladz [Tue, 19 Jun 2018 02:20:49 +0000 (10:20 +0800)]
Merge pull request #1072 from Bytom/prod
prod - master
Paladz [Tue, 19 Jun 2018 02:17:33 +0000 (10:17 +0800)]
Merge pull request #1071 from Bytom/dev
Dev
Paladz [Tue, 19 Jun 2018 02:07:51 +0000 (10:07 +0800)]
Merge pull request #1062 from Bytom/release_note
add unit release note for v1.0.3
Paladz [Tue, 19 Jun 2018 02:03:39 +0000 (10:03 +0800)]
Merge pull request #1070 from Bytom/dev-filter
add filter related unconfirmed transaction
oysheng [Tue, 19 Jun 2018 01:59:10 +0000 (09:59 +0800)]
modify func name
oysheng [Tue, 19 Jun 2018 01:52:00 +0000 (09:52 +0800)]
add filter related unconfirmed transaction
Paladz [Fri, 15 Jun 2018 07:28:46 +0000 (15:28 +0800)]
Merge pull request #1064 from Bytom/dev
Dev
Paladz [Fri, 15 Jun 2018 07:25:30 +0000 (15:25 +0800)]
edit the config (#1063)
paladz [Thu, 14 Jun 2018 13:12:21 +0000 (21:12 +0800)]
add unit release note for v1.0.3
Derek [Thu, 14 Jun 2018 11:52:14 +0000 (19:52 +0800)]
add rescan-blocks api (#1055)
* add rescan-blocks api
* rename rescan-blocks to rescan-wallet
* rename rescanWallet to rescanWallet
yahtoo [Thu, 14 Jun 2018 09:58:20 +0000 (17:58 +0800)]
Add udp upnp port mapping (#1060)
* Fix nodeID encode bug
* Add udp upnp port mapping
Paladz [Thu, 14 Jun 2018 05:03:23 +0000 (13:03 +0800)]
Merge pull request #1058 from Bytom/edit_chain_id
edit testnet chain_id
paladz [Thu, 14 Jun 2018 05:01:42 +0000 (13:01 +0800)]
edit testnet chain_id
Paladz [Thu, 14 Jun 2018 03:04:46 +0000 (11:04 +0800)]
edit the config (#1057)
Paladz [Thu, 14 Jun 2018 02:03:36 +0000 (10:03 +0800)]
don't dial self (#1056)
* don't dial self
* edit the dial code
Paladz [Wed, 13 Jun 2018 10:04:32 +0000 (18:04 +0800)]
Merge pull request #1053 from Bytom/dev-error
fix default error response struct
Paladz [Wed, 13 Jun 2018 07:03:11 +0000 (15:03 +0800)]
Merge pull request #1052 from Bytom/fix_bug
handle node is nil bug
oysheng [Wed, 13 Jun 2018 07:02:41 +0000 (15:02 +0800)]
fix default error response struct
paladz [Wed, 13 Jun 2018 06:58:40 +0000 (14:58 +0800)]
handle node is nil bug
Paladz [Wed, 13 Jun 2018 06:39:03 +0000 (14:39 +0800)]
Merge pull request #1051 from Bytom/fix_bug
fix the over range crash bug
paladz [Wed, 13 Jun 2018 06:35:08 +0000 (14:35 +0800)]
fix the over range crash bug
Paladz [Wed, 13 Jun 2018 03:17:30 +0000 (11:17 +0800)]
Merge pull request #1050 from Bytom/dev-error
fix map error for "hash of unhashable type"
oysheng [Wed, 13 Jun 2018 03:04:34 +0000 (11:04 +0800)]
fix map error for "hash of unhashable type"
Paladz [Wed, 13 Jun 2018 02:29:49 +0000 (10:29 +0800)]
Merge pull request #1049 from Bytom/edit_version
edit version to 1.0.3
paladz [Wed, 13 Jun 2018 02:28:18 +0000 (10:28 +0800)]
edit version to 1.0.3
Paladz [Tue, 12 Jun 2018 12:08:55 +0000 (20:08 +0800)]
Merge pull request #1041 from Bytom/dev-utxo-tx
add unit test for build-transaction by utxo
yahtoo [Tue, 12 Jun 2018 12:06:51 +0000 (20:06 +0800)]
Add node discover function (#1032)
* Add node discover function
* Add dependent libraries
* Change discover nodeID to
edd25519 pubkey
* Del unused secp256k1 lib
* Add discover debug info
* Del unused sha3 lib
* Del unused math function
* remove address book from switch level
* use discover to replace addrbook
* Chane discover rlp encode to go-wire encode
* Add test discover seed
* edit the log from info to debug
* edit the code
* remove pex call seed
* edit for fix bug
* edit the solonet config
* edit for debug
* make udp listen to config address
* handle error on start switch fail
* move discover outof switch
* handle the empty seed case
* edit the node select
* Ma's order
* remove a unused function
Paladz [Tue, 12 Jun 2018 08:18:58 +0000 (16:18 +0800)]
Merge pull request #1046 from Bytom/dev
Dev
Paladz [Tue, 12 Jun 2018 08:15:22 +0000 (16:15 +0800)]
Merge pull request #1045 from Bytom/merge-master
Merge master
Paladz [Mon, 11 Jun 2018 14:27:54 +0000 (22:27 +0800)]
Merge pull request #1042 from Bytom/dev
Dev
oysheng [Mon, 11 Jun 2018 10:52:12 +0000 (18:52 +0800)]
add unit test for build-transaction by utxo
oysheng [Sat, 9 Jun 2018 10:25:18 +0000 (18:25 +0800)]
modify error response (#1039)
* modify error response
* optimise
Zhiting Lin [Sat, 9 Jun 2018 07:42:49 +0000 (15:42 +0800)]
update dashboard (#1038)
oysheng [Sat, 9 Jun 2018 07:26:07 +0000 (15:26 +0800)]
fix list-transactions unconfirmed transactions sorting by time (#1037)
* list-transactions result order by time desc
* optimise list-transactions unconfirmed transaction order
* optimise
Paladz [Fri, 8 Jun 2018 11:23:25 +0000 (19:23 +0800)]
genesis block support mutil net (#1036)
Zhiting Lin [Fri, 8 Jun 2018 02:50:39 +0000 (10:50 +0800)]
update dashboard (#1035)
Paladz [Thu, 7 Jun 2018 13:27:44 +0000 (21:27 +0800)]
reduce the unused info in node_info (#1033)
Paladz [Thu, 7 Jun 2018 09:55:56 +0000 (17:55 +0800)]
add service flag (#1030)
oysheng [Thu, 7 Jun 2018 09:26:55 +0000 (17:26 +0800)]
get-transaction by tx_id add annotateTxsAsset (#1029)
* optmise list-transactions query by tx_id
* get-transaction by tx_id add annotateTxsAsset
oysheng [Thu, 7 Jun 2018 08:53:49 +0000 (16:53 +0800)]
optmise list-transactions query by tx_id (#1028)
Paladz [Thu, 7 Jun 2018 05:33:02 +0000 (13:33 +0800)]
check the switch level logic (#1026)
* check the switch level logic
* edit for code review
Paladz [Wed, 6 Jun 2018 11:48:04 +0000 (19:48 +0800)]
Merge pull request #1025 from Bytom/dev
Dev
Paladz [Tue, 5 Jun 2018 13:26:27 +0000 (21:26 +0800)]
Merge pull request #1022 from Bytom/dev-unconfirmed
add unconfirmed transaction for account
oysheng [Tue, 5 Jun 2018 13:00:59 +0000 (21:00 +0800)]
fix format
oysheng [Tue, 5 Jun 2018 12:55:52 +0000 (20:55 +0800)]
modify list-transactions
oysheng [Tue, 5 Jun 2018 12:49:32 +0000 (20:49 +0800)]
optimise