OSDN Git Service
Yahtoo Ma [Fri, 31 Aug 2018 08:46:29 +0000 (16:46 +0800)]
Update readme file
Yahtoo Ma [Fri, 31 Aug 2018 08:43:59 +0000 (16:43 +0800)]
Update Makefile file
Yahtoo Ma [Thu, 30 Aug 2018 12:56:25 +0000 (20:56 +0800)]
Change Makefile file
Yahtoo Ma [Thu, 30 Aug 2018 12:40:45 +0000 (20:40 +0800)]
Change readme file
Yahtoo Ma [Thu, 30 Aug 2018 12:38:25 +0000 (20:38 +0800)]
Change lib directory
Yahtoo Ma [Thu, 30 Aug 2018 12:09:22 +0000 (20:09 +0800)]
Change Readme for bytom spv wallet
Yahtoo Ma [Thu, 30 Aug 2018 11:02:27 +0000 (19:02 +0800)]
Fix fastsync require block 0 err
Yahtoo Ma [Thu, 30 Aug 2018 10:35:43 +0000 (18:35 +0800)]
Merge dev branch
Yahtoo Ma [Thu, 30 Aug 2018 02:32:42 +0000 (10:32 +0800)]
Opz code format
Yahtoo Ma [Wed, 29 Aug 2018 06:13:59 +0000 (14:13 +0800)]
Change merkle block tx status storage
Yahtoo Ma [Wed, 29 Aug 2018 03:13:25 +0000 (11:13 +0800)]
Revert block header validation func
Yahtoo Ma [Wed, 29 Aug 2018 02:46:06 +0000 (10:46 +0800)]
Revert block header validation func
Yahtoo Ma [Wed, 29 Aug 2018 02:24:45 +0000 (10:24 +0800)]
Change saveSubBlock func
Yahtoo Ma [Wed, 29 Aug 2018 02:13:37 +0000 (10:13 +0800)]
Add txstatus to core saveBlock
Yahtoo Ma [Tue, 28 Aug 2018 08:32:04 +0000 (16:32 +0800)]
Add tx status merkle proof check
Yahtoo Ma [Tue, 28 Aug 2018 06:53:15 +0000 (14:53 +0800)]
Del core ValidateBlock
Yahtoo Ma [Tue, 28 Aug 2018 02:14:37 +0000 (10:14 +0800)]
Del core utxos manager
Yahtoo Ma [Mon, 27 Aug 2018 09:24:10 +0000 (17:24 +0800)]
Del txpool
Yahtoo Ma [Mon, 27 Aug 2018 06:04:32 +0000 (14:04 +0800)]
Del unused mining func
Yahtoo Ma [Fri, 24 Aug 2018 06:42:47 +0000 (14:42 +0800)]
Change spv wallet send tx
Yahtoo Ma [Fri, 24 Aug 2018 04:56:24 +0000 (12:56 +0800)]
Del unused txPool.RemoveTransaction
Yahtoo Ma [Fri, 24 Aug 2018 04:44:44 +0000 (12:44 +0800)]
Del unused block_fetcher function
Yahtoo Ma [Fri, 24 Aug 2018 04:35:00 +0000 (12:35 +0800)]
Add change address to spv filter
Yahtoo Ma [Thu, 23 Aug 2018 08:27:44 +0000 (16:27 +0800)]
Add merkle proof check
Yahtoo Ma [Thu, 23 Aug 2018 05:37:40 +0000 (13:37 +0800)]
Del coinbase tx check
Yahtoo Ma [Wed, 22 Aug 2018 10:53:18 +0000 (18:53 +0800)]
Add connection peer spv flag check
Yahtoo Ma [Wed, 22 Aug 2018 10:38:34 +0000 (18:38 +0800)]
Opz merkleBlock msg struct
HAOYUatHZ [Wed, 22 Aug 2018 07:55:14 +0000 (15:55 +0800)]
clean miningpool (#1265)
* :zap: Improve miningpool blockUpdater()
* :fire: Clean up
* Rename minepool.go to miningpool.go
* :art: No need to change timestamp
* :fire: clean import
HAOYUatHZ [Tue, 21 Aug 2018 13:41:15 +0000 (21:41 +0800)]
zap: Improve miningpool blockUpdater() (#1264)
* :zap: Improve miningpool blockUpdater()
* :fire: Clean up
Zhiting Lin [Mon, 20 Aug 2018 08:46:51 +0000 (16:46 +0800)]
Frontend (#1259)
* Add the translation to contract
* update dashboard.
Paladz [Tue, 14 Aug 2018 11:19:33 +0000 (19:19 +0800)]
Fix pool bug (#1254)
* fix use wrong type of lock bug
* fix wrong type of lock bug
oysheng [Tue, 14 Aug 2018 11:19:10 +0000 (19:19 +0800)]
create-asset add user defined contract for issue-program (#1245)
* create-asset add user defined contract for issue-program
* fix signer is nil
* extracting common functions AddContractArgs
oysheng [Tue, 14 Aug 2018 07:25:41 +0000 (15:25 +0800)]
list-accounts add filter alias (#1253)
HAOYUatHZ [Mon, 13 Aug 2018 11:26:46 +0000 (19:26 +0800)]
Rearrange (#1252)
HAOYUatHZ [Mon, 13 Aug 2018 10:31:39 +0000 (18:31 +0800)]
Fix $HOME env (#1250)
* Fix $HOME env
* Use strings.Join() to concat
Yahtoo Ma [Tue, 21 Aug 2018 06:55:58 +0000 (14:55 +0800)]
Bytom spv client implement
Yahtoo Ma [Mon, 20 Aug 2018 06:46:55 +0000 (14:46 +0800)]
Bytom spv client implement
HAOYUatHZ [Mon, 13 Aug 2018 03:22:59 +0000 (11:22 +0800)]
Use best block for default in /get-hash-rate (#1243)
* Use best block for default in /get-hash-rate
* minor
Derek [Mon, 13 Aug 2018 03:06:49 +0000 (11:06 +0800)]
fix return the error (#1246)
* fix the coinbase generate bug (#1136)
* fix return the error
HAOYUatHZ [Mon, 13 Aug 2018 03:05:17 +0000 (11:05 +0800)]
Format release-notes (#1247)
* Format release-notes-1.0.4.md
* Format release-notes
Derek [Thu, 9 Aug 2018 02:37:53 +0000 (10:37 +0800)]
add expiration for OrphanManage (#1241)
* fix the coinbase generate bug (#1136)
* add expiration for OrphanManage
* change OrphanTx to OrphanBlock
* modify expiration for OrphanManage
* modify expiration for OrphanManage again
* adjust the order
* change OrphanBlock to orphanBlock
* adjust the order
Paladz [Wed, 8 Aug 2018 08:06:44 +0000 (16:06 +0800)]
txpool handle orphan (#1228)
* tmp save
* elegant the code
* add unit test for TestRemoveOrphan
* add unit test for TestAddOrphan
* add unit test for addTransaction
* add unit test for ExpireOrphan
* add unit test for processOrphans
* edit the mock tx
* fix functional test error
* try to fix functional test bug
HAOYUatHZ [Wed, 8 Aug 2018 02:10:14 +0000 (10:10 +0800)]
Fix format verbs in tests (#1239)
Derek [Tue, 7 Aug 2018 11:41:02 +0000 (19:41 +0800)]
delete EventSwitch of types (#1237)
* fix the coinbase generate bug (#1136)
* delete EventSwitch of types
* delete EventSwitch of types
muscle_boy [Tue, 7 Aug 2018 11:34:33 +0000 (19:34 +0800)]
Dev wallet sa (#1238)
* 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
* list-tx,list-address,list-utxo support partition
* list-addresses list-tx list-utxo support pagging
* refactor pagging
* fix save asset
* fix save external assets
* remove blank
* remove useless context
* remove redudant web address config
* fix bug
* remove useless ctx
Zhiting Lin [Tue, 7 Aug 2018 10:24:06 +0000 (18:24 +0800)]
update dashboard (#1236)
oysheng [Tue, 7 Aug 2018 03:05:47 +0000 (11:05 +0800)]
add control-program for list-addresses (#1235)
Derek [Tue, 7 Aug 2018 02:50:42 +0000 (10:50 +0800)]
modify ns time to s (#1230)
* fix the coinbase generate bug (#1136)
* modify ns time to s
oysheng [Mon, 6 Aug 2018 10:52:56 +0000 (18:52 +0800)]
modify multi sign result for same password (#1232)
* modify multi sign result for same password
* optimise
* fix unit test
HAOYUatHZ [Mon, 6 Aug 2018 10:33:55 +0000 (18:33 +0800)]
Coinbase arbitrary (#1219)
* get mining address
* Set mining addr
* go fmt
* Fix CI
* Avoid mining to null addr
* Prevent mining to null addr for api
* clean vendor
* format get/setMiningAddress func
* Update if statements format
* Combine
* go fmt
* clean GetMiningAddress()
* compact IF statements
* compact IF statements
* revert
* SetMiningAddress for non-local address
* combine
* go fmt
* private getProgramByAddress()
* Avoid mining to nil addr for get-work
* Roll back
* Fix CI
* tweak func seq
* Add /get-coinbase-arbitrary api
* setCoinbaseArbitrary
* abHexStr
* re-construct code
* go fmt
* fix conflict
* go fmt
* re org code
* GetBlockTemplate
* rm get-coinbase-arbitrary
* go fmt
* RenewBlkTplWithArbitrary
* clean up
* CoinbaseArbitraryOversize check
* Iter to find CoinbaseArbitrary
* go fmt
* Change arbitrary json from string to chainjson
* Fix CI
* get/set-coinbase-arbitrary
* Fix
* go fmt
* Fix
* Fix
* Fix CI
* Disable test -v
* Fix coinbase arbitrary in get-work-json
* Fix arbitrary call
* Roll back (Ignore coinbase arbitrary in get-work-json)
* Rm block.CoinbaseArbitrary()
* Reformat
* Clean getBlockHelper()
* Add import
* Fix getBlockHelper() logic
* Clean up codes
oysheng [Mon, 6 Aug 2018 10:24:41 +0000 (18:24 +0800)]
add API check-key-password (#1233)
Derek [Fri, 3 Aug 2018 09:28:09 +0000 (17:28 +0800)]
change BTMAssetID to human readable (#1216)
* fix the coinbase generate bug (#1136)
* change BTMAssetID to human readable
* fix txfedd syntax
* change BTMAssetID to human readable again
* revert fix txfedd syntax
* adjust import
oysheng [Fri, 3 Aug 2018 09:13:12 +0000 (17:13 +0800)]
fix error exhibition (#1229)
muscle_boy [Fri, 3 Aug 2018 07:09:22 +0000 (15:09 +0800)]
fix save external asset bug. (#1218)
* 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
* list-tx,list-address,list-utxo support partition
* list-addresses list-tx list-utxo support pagging
* refactor pagging
* fix save asset
* fix save external assets
* remove blank
yahtoo [Fri, 3 Aug 2018 02:37:59 +0000 (10:37 +0800)]
Add sync completion status broadcast function (#1208)
* Add sync completion status broadcast function
* Del peer unused variable knownStatus
muscle_boy [Wed, 1 Aug 2018 11:11:24 +0000 (19:11 +0800)]
Dev wallet sa (#1204)
* 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
* list-tx,list-address,list-utxo support partition
* list-addresses list-tx list-utxo support pagging
* refactor pagging
HAOYUatHZ [Wed, 1 Aug 2018 06:11:00 +0000 (14:11 +0800)]
get/set mining addr (#1195)
* get mining address
* Set mining addr
* go fmt
* Fix CI
* Avoid mining to null addr
* Prevent mining to null addr for api
* clean vendor
* format get/setMiningAddress func
* Update if statements format
* Combine
* go fmt
* clean GetMiningAddress()
* compact IF statements
* compact IF statements
* revert
* SetMiningAddress for non-local address
* combine
* go fmt
* private getProgramByAddress()
* Avoid mining to nil addr for get-work
* Roll back
* Fix CI
* tweak func seq
yahtoo [Tue, 31 Jul 2018 08:23:21 +0000 (16:23 +0800)]
Remove p2p peer exchange module (#1196)
HAOYUatHZ [Tue, 31 Jul 2018 07:50:34 +0000 (15:50 +0800)]
Disconnect only for diff major version (#1203)
oysheng [Tue, 31 Jul 2018 06:12:45 +0000 (14:12 +0800)]
modify field name (#1202)
HAOYUatHZ [Tue, 31 Jul 2018 03:14:05 +0000 (11:14 +0800)]
Update make clean (#1198)
Zhiting Lin [Tue, 31 Jul 2018 02:52:05 +0000 (10:52 +0800)]
update equity frontend. (#1199)
Chengcheng Zhang [Fri, 27 Jul 2018 06:44:50 +0000 (14:44 +0800)]
add sm2 (#1193)
* add sm2
* fix import
Paladz [Thu, 26 Jul 2018 03:23:57 +0000 (11:23 +0800)]
Merge pull request #1188 from Bytom/edit-release
fix the format
paladz [Thu, 26 Jul 2018 03:21:58 +0000 (11:21 +0800)]
fix the format
Paladz [Thu, 26 Jul 2018 03:17:22 +0000 (11:17 +0800)]
add release note (#1185)
* add release note
* elegant the release note
* fix the grammar
* elegant the release note (#1186)
* elegant the release note
* elegant the release note
successli [Thu, 26 Jul 2018 02:40:53 +0000 (10:40 +0800)]
Add simd section in README (#1184)
Zhiting Lin [Wed, 25 Jul 2018 11:46:57 +0000 (19:46 +0800)]
update dashboard (#1183)
successli [Wed, 25 Jul 2018 11:06:55 +0000 (19:06 +0800)]
Dev readme (#1182)
* fix the coinbase generate bug (#1136)
* update README.md file
* update README.md file delete --mining param
* Add simd section in README
Zhiting Lin [Wed, 25 Jul 2018 07:46:59 +0000 (15:46 +0800)]
updated equity frontend. (#1177)
Paladz [Wed, 25 Jul 2018 07:42:56 +0000 (15:42 +0800)]
edit sync logic, make it fast (#1176)
* edit sync logic, make it fast
* fix ci error
Paladz [Wed, 25 Jul 2018 05:32:30 +0000 (13:32 +0800)]
edit the config for prod (#1174)
Paladz [Wed, 25 Jul 2018 03:20:30 +0000 (11:20 +0800)]
add unit test for netsync (#1162)
* add unit test for block_keeper
* fix unit test error
* add unit test for locateHeaders
* add unit test for locateBlocks
* add unit test for TestNextCheckpoint
* add unit test for TestRequireBlock
* add unit test for regular block sync
* add unit test for TestFastBlockSync
* fix golint
Zhiting Lin [Tue, 24 Jul 2018 12:10:28 +0000 (20:10 +0800)]
update equity frontend part (#1171)
broadroad [Tue, 24 Jul 2018 11:25:53 +0000 (19:25 +0800)]
fix typo (#1168)
HAOYUatHZ [Tue, 24 Jul 2018 11:24:51 +0000 (19:24 +0800)]
Try (#1165)
* Add simd tag
* Clean up Makefile
* Request CI again
* Fix link option for Darwin
* Update readme
oysheng [Tue, 24 Jul 2018 07:24:32 +0000 (15:24 +0800)]
modify list-pubkeys response order (#1170)
Zhiting Lin [Tue, 24 Jul 2018 02:56:41 +0000 (10:56 +0800)]
Frontend (#1169)
* updated dashboard
* update the equity frontend.
* update dashboard nav.
oysheng [Mon, 23 Jul 2018 07:03:41 +0000 (15:03 +0800)]
add filter field pubkey for list-pubkeys (#1161)
* add filter pubkey for list-pubkeys
* optimise
* optimise import
HAOYUatHZ [Mon, 23 Jul 2018 06:30:54 +0000 (14:30 +0800)]
Add simd tag (#1160)
* Add simd tag
* Clean up Makefile
* Request CI again
Paladz [Mon, 23 Jul 2018 01:55:18 +0000 (09:55 +0800)]
fix unit test for sm op (#1156)
Paladz [Fri, 20 Jul 2018 10:38:56 +0000 (18:38 +0800)]
edit go version (#1153)
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