OSDN Git Service
mars [Thu, 25 Jul 2019 07:12:16 +0000 (15:12 +0800)]
add pick alternative nodes
mars [Thu, 25 Jul 2019 06:55:56 +0000 (14:55 +0800)]
Merge remote-tracking branch 'origin/master' into alternative_nodes
iczc [Thu, 25 Jul 2019 06:55:23 +0000 (14:55 +0800)]
get standby nodes (#355)
* get standby nodes
* use address as parameter
yahtoo [Thu, 25 Jul 2019 06:33:33 +0000 (14:33 +0800)]
Add skeleton size validity check (#354)
* Add skeleton size validity check
* Add max size check
* Add peer illegal process
mars [Thu, 25 Jul 2019 06:24:06 +0000 (14:24 +0800)]
Merge branch 'alternative_nodes' of https://github.com/bytom/vapor into alternative_nodes
mars [Thu, 25 Jul 2019 06:23:26 +0000 (14:23 +0800)]
modify logic
Poseidon [Thu, 25 Jul 2019 01:58:35 +0000 (09:58 +0800)]
fix get consensus node test (#353)
* fix get consensus node test
* remove useless code
wz [Thu, 25 Jul 2019 01:28:07 +0000 (09:28 +0800)]
Merge branch 'master' into alternative_nodes
yahtoo [Thu, 25 Jul 2019 01:23:52 +0000 (09:23 +0800)]
Fix fast sync pending when all request blocks timeout (#347)
* Fix fast sync pending when all request blocks timeout
* Add num of sync peer periodic detection
* Fix review error
Poseidon [Wed, 24 Jul 2019 14:08:54 +0000 (22:08 +0800)]
get consensus node test (#352)
* get consensus node test
* remove rubish
* unexport federationNode
* remove useless code
* opt code
mars [Wed, 24 Jul 2019 08:16:02 +0000 (16:16 +0800)]
Alternate nodes assign rewards
oysheng [Wed, 24 Jul 2019 07:31:03 +0000 (15:31 +0800)]
validateBlock unit test (#346)
* modify checkcoinbase
* modify validateBlock
* optimise
wz [Wed, 24 Jul 2019 07:08:19 +0000 (15:08 +0800)]
Voter reward (#344)
* add vote reward
* add config
* fix
* modify
* modify sql
* fix review
* modify sql
* add roundVoteBlockNums
* recover code
* modify format
* modify code
* optimized code
* modify format
* fix review
* fix review
* fix review
* single xpub
* modifu
* fix review
* fix
* modify format
* fix review
* modify coinbase
* fix bug
* fix
* fix review
* add Rollback
* modify
* fix
* fix
* fix voter rewward
* modify
* fix review
* fix review
* remove code file
* fix
* add readme
* fix
* rm file
* fix review
* rm chain_id
* modify readme
iczc [Wed, 24 Jul 2019 01:58:32 +0000 (09:58 +0800)]
add get vote result (#345)
* add get vote result
* fix return type
* fix Unmarshal error
* use existing voteinfo struct
wz [Tue, 23 Jul 2019 05:38:16 +0000 (13:38 +0800)]
Reward util (#342)
* add vote reward
* add config
* fix
* modify
* modify sql
* fix review
* modify sql
* add roundVoteBlockNums
* recover code
* modify format
* modify code
* optimized code
* modify format
* fix review
* fix review
* fix review
* single xpub
* modifu
* fix review
* fix
* modify format
* fix review
* modify coinbase
* fix bug
* fix
* fix review
* add Rollback
* modify
* delete code
* add util
* modify sync
* add test
* modify db
* restore file
* fix review
* modify error
* add block hash
* try edit the code format
* add unit test
* modify table name
* fix review
* fix review
yahtoo [Tue, 23 Jul 2019 02:29:34 +0000 (10:29 +0800)]
Opz log print (#343)
HAOYUatHZ [Sat, 20 Jul 2019 06:14:28 +0000 (14:14 +0800)]
fix (#340)
iczc [Sat, 20 Jul 2019 06:10:27 +0000 (14:10 +0800)]
modify initialization parameters (#341)
HAOYUatHZ [Sat, 20 Jul 2019 05:49:09 +0000 (13:49 +0800)]
add fedd dockerfile (#339)
apolloww [Sat, 20 Jul 2019 02:58:14 +0000 (10:58 +0800)]
txpool: periodically sweep pool for stale Txs (#337)
yahtoo [Sat, 20 Jul 2019 02:50:11 +0000 (10:50 +0800)]
Modify Dockerfile expose ports (#338)
yahtoo [Sat, 20 Jul 2019 01:52:07 +0000 (09:52 +0800)]
v1.0.0 stable (#336)
Chengcheng Zhang [Fri, 19 Jul 2019 14:38:00 +0000 (22:38 +0800)]
Wallet store test (#326)
* add TestDeleteContractUTXO
* update
* add TestDeleteRecoveryStatus
* update TestDeleteRecoveryStatus
* add TestGetWalletInfo
* add TestDeleteUnconfirmedTransaction
* update TestDeleteUnconfirmedTransaction
* add TestListUnconfirmedTransactions
* update
* add TestGetGlobalTransactionIndex
* update ListTransactions
* add TestGetAsset
* add TestDeleteTransactions
* update TestDeleteTransactions
* add TestDeleteWalletTransactions
* add TestDeleteWalletUTXOs
* add TestGetStandardUTXO
* add TestListAccountUTXOs
* update TestListAccountUTXOs
* add TestListTransactions
* update
* update TestListTransactions
* update
* update TestListTransactions
HAOYUatHZ [Fri, 19 Jul 2019 14:33:37 +0000 (22:33 +0800)]
fix chain_id in sql_dump (#334)
Paladz [Fri, 19 Jul 2019 14:32:50 +0000 (22:32 +0800)]
delete the key index (#335)
HAOYUatHZ [Fri, 19 Jul 2019 14:16:31 +0000 (22:16 +0800)]
update (#333)
HAOYUatHZ [Fri, 19 Jul 2019 12:01:03 +0000 (20:01 +0800)]
update db dump (#332)
oysheng [Fri, 19 Jul 2019 10:13:53 +0000 (18:13 +0800)]
modify consensusResult for block (#324)
* modify consensusResult for block
* delete
* optimise
HAOYUatHZ [Fri, 19 Jul 2019 10:12:37 +0000 (18:12 +0800)]
update fedProg (#330)
wz [Fri, 19 Jul 2019 10:11:36 +0000 (18:11 +0800)]
fix bug (#331)
HAOYUatHZ [Fri, 19 Jul 2019 08:32:19 +0000 (16:32 +0800)]
add mainnet seeds (#329)
HAOYUatHZ [Fri, 19 Jul 2019 08:26:26 +0000 (16:26 +0800)]
fix fed membership order (#328)
HAOYUatHZ [Fri, 19 Jul 2019 08:05:42 +0000 (16:05 +0800)]
vapor v1.0 genesis consensus (#327)
Zhiting Lin [Fri, 19 Jul 2019 06:16:13 +0000 (14:16 +0800)]
update dashboard. (#325)
Paladz [Fri, 19 Jul 2019 02:51:29 +0000 (10:51 +0800)]
delete the unused (#323)
Chengcheng Zhang [Thu, 18 Jul 2019 16:31:08 +0000 (00:31 +0800)]
Wallet store test (#312)
* add TestDeleteContractUTXO
* update
* add TestDeleteRecoveryStatus
* update TestDeleteRecoveryStatus
* add TestGetWalletInfo
* add TestDeleteUnconfirmedTransaction
* update TestDeleteUnconfirmedTransaction
* add TestListUnconfirmedTransactions
* update
* add TestGetGlobalTransactionIndex
* update ListTransactions
* add TestGetAsset
* add TestDeleteTransactions
* update TestDeleteTransactions
* add TestDeleteWalletTransactions
Zhiting Lin [Thu, 18 Jul 2019 11:47:53 +0000 (19:47 +0800)]
update dashboard (#321)
Chengcheng Zhang [Thu, 18 Jul 2019 11:21:11 +0000 (19:21 +0800)]
update GetNodeInfo (#317)
* update GetNodeInfo
* update
* update
* update
Paladz [Thu, 18 Jul 2019 11:18:45 +0000 (19:18 +0800)]
edit the config (#320)
oysheng [Thu, 18 Jul 2019 10:17:45 +0000 (18:17 +0800)]
modify testnet parameters (#319)
Paladz [Thu, 18 Jul 2019 08:16:44 +0000 (16:16 +0800)]
fix the lock bug (#316)
Zhiting Lin [Thu, 18 Jul 2019 08:11:28 +0000 (16:11 +0800)]
update dashboard. (#315)
yahtoo [Thu, 18 Jul 2019 07:44:09 +0000 (15:44 +0800)]
Revert "Fix BlockWaiter dead lock (#311)" (#314)
This reverts commit
101539186ad6a4422b703abf5f8739f26c7a21f3.
Zhiting Lin [Thu, 18 Jul 2019 07:36:00 +0000 (15:36 +0800)]
update dashboard (#313)
yahtoo [Thu, 18 Jul 2019 06:58:50 +0000 (14:58 +0800)]
Fix BlockWaiter dead lock (#311)
* Fix BlockWaiter dead lock
* Opz name of the variable
Paladz [Thu, 18 Jul 2019 06:51:22 +0000 (14:51 +0800)]
change the config for prod (#310)
Zhiting Lin [Thu, 18 Jul 2019 02:56:01 +0000 (10:56 +0800)]
update dashboard (#309)
HAOYUatHZ [Wed, 17 Jul 2019 12:45:31 +0000 (20:45 +0800)]
fix netParams for fedd (#307)
* fix network
* update doc
HAOYUatHZ [Wed, 17 Jul 2019 09:23:01 +0000 (17:23 +0800)]
fix config & update mysql dump (#306)
Zhiting Lin [Wed, 17 Jul 2019 08:49:54 +0000 (16:49 +0800)]
update dashboard. (#305)
oysheng [Wed, 17 Jul 2019 08:35:32 +0000 (16:35 +0800)]
modify estimate gas (#304)
* modify estimate gas
* unit test
Chengcheng Zhang [Wed, 17 Jul 2019 07:53:08 +0000 (15:53 +0800)]
Account store test (#303)
* add TestDeleteAccount
* update
* update TestDeleteAccount
* add TestDeleteStandardUTXO
* add TestGetAccountIndex
* update
* add TestGetBip44ContractIndex
* update
* add TestGetCoinbaseArbitrary
* add TestGetContractIndex
* update
* update
* add TestGetMiningAddress
* add TestListAccounts
* add TestListControlPrograms
* add TestListUTXOs
oysheng [Wed, 17 Jul 2019 06:28:16 +0000 (14:28 +0800)]
modify config (#302)
oysheng [Wed, 17 Jul 2019 06:01:16 +0000 (14:01 +0800)]
delete first tx vote amount restrict (#301)
Paladz [Wed, 17 Jul 2019 03:48:12 +0000 (11:48 +0800)]
consensus should be able to change (#300)
oysheng [Wed, 17 Jul 2019 03:15:46 +0000 (11:15 +0800)]
add free gas (#295)
* add free gas
* unit test
* delete checkout nobtm input
* optimise
Zhiting Lin [Wed, 17 Jul 2019 03:04:52 +0000 (11:04 +0800)]
update dashboard (#299)
Paladz [Wed, 17 Jul 2019 01:48:57 +0000 (09:48 +0800)]
fix bug (#297)
oysheng [Wed, 17 Jul 2019 01:47:22 +0000 (09:47 +0800)]
modify utxo pending number and consensus node vote restrict (#285)
* modify utxo pending number
* add consensus node vote restrict
* fix test
* modify validate vote tx
* modify config
* unit test
* add error
* optimise
* optimise
* optimise
* optimise config
* apply Tx
* delete
* optimise
Chengcheng Zhang [Tue, 16 Jul 2019 11:28:40 +0000 (19:28 +0800)]
Account store test (#296)
* add TestDeleteAccount
* update
* update TestDeleteAccount
* add TestDeleteStandardUTXO
* add TestGetAccountIndex
* update
* add TestGetBip44ContractIndex
* update
* add TestGetCoinbaseArbitrary
* add TestGetContractIndex
* update
yahtoo [Tue, 16 Jul 2019 10:38:50 +0000 (18:38 +0800)]
Prevent resending of received BlockSignatureMsg (#294)
wz [Tue, 16 Jul 2019 07:55:36 +0000 (15:55 +0800)]
sync vote info for reward (#292)
* modify CHARSET
* add
* add sync block
* add sync block
* fix
* fix
* fix review
* modify logic
yahtoo [Tue, 16 Jul 2019 06:34:11 +0000 (14:34 +0800)]
Del BlockSignatureMsg unused Height field (#293)
HAOYUatHZ [Mon, 15 Jul 2019 14:52:41 +0000 (22:52 +0800)]
fix: use fedConsensusPath to derive for consensus federationNodes (#290)
* add fedConsensusPath
* doc: clean up
HAOYUatHZ [Mon, 15 Jul 2019 14:16:13 +0000 (22:16 +0800)]
refactor: use derived xpubs for federation (#289)
* add fed path
* refactor: rename FedPath
* clean
Chengcheng Zhang [Mon, 15 Jul 2019 11:49:48 +0000 (19:49 +0800)]
Test save block (#288)
* add TestSaveBlock
* TestSaveBlockHeader
* update
apolloww [Mon, 15 Jul 2019 10:58:18 +0000 (18:58 +0800)]
filter out known txs (#280)
* filter out known txs
* move filtering logic into chain level
* skip filtering when restoring tx back to pool
* refactor
yahtoo [Mon, 15 Jul 2019 08:10:01 +0000 (16:10 +0800)]
Add a regular sync maximum block limit (#287)
wz [Mon, 15 Jul 2019 08:08:57 +0000 (16:08 +0800)]
Voter reward (#286)
* rename dir
* add database
* fix
* fix
wz [Mon, 15 Jul 2019 07:02:06 +0000 (15:02 +0800)]
rename dir (#283)
Paladz [Mon, 15 Jul 2019 06:56:38 +0000 (14:56 +0800)]
change the ts (#284)
yahtoo [Mon, 15 Jul 2019 05:05:01 +0000 (13:05 +0800)]
Fix fast sync bug when the chain has fork (#282)
* Fix fast sync bug when the chain has fork
* Opz code format
* Fix test file err
yahtoo [Mon, 15 Jul 2019 02:08:17 +0000 (10:08 +0800)]
Fix sync orphan block system panic (#281)
when isOrphan==true&&err==nil system panic
HAOYUatHZ [Sat, 13 Jul 2019 09:48:16 +0000 (17:48 +0800)]
fix chain keepers (#279)
* fix sidechain_keeper initialization
* fix sql schema
* fix(federation): fix readme
apolloww [Sat, 13 Jul 2019 07:10:52 +0000 (15:10 +0800)]
mark tx before validation so it won't be sent to source again (#278)
Chengcheng Zhang [Sat, 13 Jul 2019 06:43:57 +0000 (14:43 +0800)]
rename vapord (#277)
Paladz [Sat, 13 Jul 2019 06:30:27 +0000 (14:30 +0800)]
Edit (#275)
* tmp save
* try to fix tx locate issue
* elegant the code
* elegant the code
* edit for code review
Chengcheng Zhang [Sat, 13 Jul 2019 02:56:13 +0000 (10:56 +0800)]
update init (#276)
* update init
* update
* update fatal
Paladz [Fri, 12 Jul 2019 13:38:00 +0000 (21:38 +0800)]
try to fix ban peer bug (#273)
Chengcheng Zhang [Fri, 12 Jul 2019 10:30:47 +0000 (18:30 +0800)]
add xpub (#272)
* update
* update
* update
oysheng [Fri, 12 Jul 2019 09:06:20 +0000 (17:06 +0800)]
modify tip (#271)
yahtoo [Fri, 12 Jul 2019 08:56:31 +0000 (16:56 +0800)]
Fix xpub copy error (#270)
oysheng [Fri, 12 Jul 2019 07:40:47 +0000 (15:40 +0800)]
modify params (#269)
* modify params
* optimise
oysheng [Fri, 12 Jul 2019 07:11:51 +0000 (15:11 +0800)]
modify config (#265)
* modify config
* modify bytom mainnet
Zhiting Lin [Fri, 12 Jul 2019 07:05:30 +0000 (15:05 +0800)]
update dashboard (#268)
yahtoo [Fri, 12 Jul 2019 07:04:56 +0000 (15:04 +0800)]
Fix BlockSignatureMsg unbroadcast problem (#267)
* Fix BlockSignatureMsg unbroadcast problem
* Fix review bug
Zhiting Lin [Fri, 12 Jul 2019 06:44:21 +0000 (14:44 +0800)]
update dashboard (#266)
Chengcheng Zhang [Fri, 12 Jul 2019 03:02:33 +0000 (11:02 +0800)]
fix bug (#264)
* fix bug
* update
wz [Thu, 11 Jul 2019 10:28:10 +0000 (18:28 +0800)]
fix bug (#260)
* fix bug
* fix bug
oysheng [Thu, 11 Jul 2019 10:26:55 +0000 (18:26 +0800)]
modify timestamp (#262)
oysheng [Thu, 11 Jul 2019 09:03:17 +0000 (17:03 +0800)]
modify sort for coinbase reward (#261)
Chengcheng Zhang [Thu, 11 Jul 2019 08:51:09 +0000 (16:51 +0800)]
update log (#259)
* update log
* update
yahtoo [Thu, 11 Jul 2019 06:39:21 +0000 (14:39 +0800)]
Del signature from cache when added to the block (#258)
yahtoo [Thu, 11 Jul 2019 06:04:09 +0000 (14:04 +0800)]
add parallel fast sync support (#238)
* Add parallel require blocks
* Add fast sync block storage and process
* add fetch blocks timeout process
* Fix oops bug
* add timeoutQueue func
* Fix review bug
* Opz code format
* modify parallelFetchHeaders function
* modify select sync peer logic
* Del unused code
* add blocksTasks struct
* Modify block parallel download mode
* Opz code format
* Fix test case error
* opz code format
* Add fast sync peer err handle
* Fix test case err
* Fix review bugs
* Fix review bugs
* Fix review bugs
* Add test file
* Fix review bug
* Fix fetch headers stopHeader lost err
* Fix locate headers bug
* Opz code format
* Fix review bug
Chengcheng Zhang [Thu, 11 Jul 2019 06:02:58 +0000 (14:02 +0800)]
Wallet store interface (#217)
* update
* sort wallet store functions
* update
* update
* update
* remove DeleteAccountByAlias
* remove DeleteAccountUTXOs
* update
* update
* update
* remove deleteAccountControlPrograms
* remove DeleteBip44ContractIndex DeleteContractIndex DeleteControlProgram
* rename GetAccountByID to GetAccount
* update GetAsset
* move TestReserve to account
* move TestReserveParticular to account
* move TestFindUtxos to account
* update
* delete utxo_keeper_test
* update
* update
* move TestReserveBtmUtxoChain to account
* update
* update
* update
* remove mock/UTXO.go
* update ListTransactions
* update
* update
* update AccountStorer
* update SetAccountIndex
* update
* update
* update
* update DeleteAccountUTXOs
* update DeleteAccount
* update
* update ListUTXOs
* update
* update
* update getAccountFromACP
* update Restore
* update Restore
* update Restore
* update
* update
* update GetCoinbaseCtrlProgram
* update Create
* update Create
* update SaveAccount
* update UpdateAccountAlias
* update SetAccountIndex
* update FindByAlias
* update WalletStore
* update
* remove GetAccount
* update
* udpate
* update
* add SetStandardUTXO
* remove SetStandardUTXO in walletstore
* update
* remove DeleteStandardUTXO
* update
* update
* update
* update
* update
* add mockAccountStore in wallet_test
* update CalcGlobalTxIndex in wallet_test
* add mockWalletStore in wallet_test
* update TestWalletVersion
* move TestEncodeDecodeGlobalTxIndex
* add test/wallet_test.go
* update
* update
* update TestXPubsRecoveryLock
* update
* update TestExtendScanAddresses
* update TestRecoveryFromXPubs
* add mock wallet store
* update
* add mock account store
* update TestRecoveryByRescanAccount
* update
* update recovery_test.go
* update TestWalletUnconfirmedTxs
* update TestGetAccountUtxos
* update
* update
* update
* update
* update
* update
* update id
* update
* update
* update
* update
* update TestGetAccountUtxos
* update
* update
* update
* update
* update
* update
* update
* update
* update
* add MockAccountStore
* remove mock
* remove mock
* update
* remove test mock
* comment some test functions
* update SetWalletInfo
* update
* update
* update loadWalletInfo
* update
* update
* rename RecoveryState
* update
* update commitStatusInfo
* update
* update
* update
* remove recoveryKey
* update
* update
* update
* rename calcGlobalTxIndexKey to CalcGlobalTxIndexKey
* update
* update
* update TestWalletUpdate
* remove comments
* update wallet_test
* update LoadWalletInfo
* rename w.status
* update TestRescanWallet
* add TestMemPoolTxQueryLoop
* update TestMemPoolTxQueryLoop
* update
* update
* fix TestFilterAccountUtxo
* update
* update
* refine code
* remove TestRescanWallet
* add account store
* comment test
* update TestFilterAccountUtxo
* fix w.AccountMgr.GetControlProgram
* remove GetControlProgram
* remove comment
* update
* update
* update
* update
* rename accountDB to db
* rename walletDB to db
* update
* update
* update
* update
* update
* update
* update
* update
* update deleteAccountUTXOs
* update
* add deleteAccountControlPrograms
* update ListAccountUTXOs
* update GetAccountByProgram
* update
* update
* update
* update
* update
* rm key
* update utxo_keeper
* update DeleteTransactions
* update Bip44ContractIndexKey
* update dbm
* update TestFilterAccountUtxo
* update
* add accountstore
* update TestFilterAccountUtxo
* updata TestFilterAccountUtxo
* move db account store prefix
* move db wallet store prefix
* add InitStore
* update
* rename CommitStore
* add InitStore
* rename CommitStore
* fix bug
* update
* update
* update
* update
* update
* update
* update
* update
* move accountAliasKey
* update
* rename InitStore to InitBatch
* rename CommitStore to CommitBatch
* update
* update
* update
* update
* update
* update
* update
* fix TestWalletUpdate
* fix bugs
* remove loop
* fix bug
* update
* update
* update Restore
* update Restore
* update saveExternalAssetDefinition
* move ErrAccntTxIDNotFound
* update GetCoinbaseCtrlProgram
* update getExternalDefinition
oysheng [Thu, 11 Jul 2019 06:01:59 +0000 (14:01 +0800)]
modify general config (#257)
* modify general config
* move code
* modify
* optimise
yahtoo [Wed, 10 Jul 2019 12:02:17 +0000 (20:02 +0800)]
fix ban node failed (#256)
Paladz [Wed, 10 Jul 2019 07:48:10 +0000 (15:48 +0800)]
edit code while reviewing the code (#255)
* edit code while reviewing the code
* change the if err statement
* clean the db part code
* delete the unused reqid code
apolloww [Tue, 9 Jul 2019 06:24:57 +0000 (14:24 +0800)]
restore Tx back to Tx pool when chain is reorganized (#254)
* restore Tx back to Tx pool when chain is reorganized
* print log if restoring tx fails
Paladz [Tue, 9 Jul 2019 02:20:55 +0000 (10:20 +0800)]
edit code while reviw (#253)
* edit code while reviw
* edit the code format