OSDN Git Service
yahtoo [Mon, 10 Jun 2019 09:27:51 +0000 (17:27 +0800)]
Fix consensus msg sync bugs (#150)
fix peer status update error
fix block signature mark error
HAOYUatHZ [Mon, 10 Jun 2019 08:19:34 +0000 (16:19 +0800)]
add doc (#148)
muscle_boy [Mon, 10 Jun 2019 07:09:24 +0000 (15:09 +0800)]
Fix get consensus edge case (#147)
* fix get consensus node edge case
* fix get consensus node edge case
* fix get consensus node edge case
HAOYUatHZ [Mon, 10 Jun 2019 06:56:23 +0000 (14:56 +0800)]
feat: init cross_tx keepers (#146)
* add config
* add config
* fix typos
wz [Mon, 10 Jun 2019 06:40:28 +0000 (14:40 +0800)]
fix bug for cancel vote (#145)
yahtoo [Mon, 10 Jun 2019 06:04:24 +0000 (14:04 +0800)]
Change p2p SendRate/RecvRate limit (#144)
yahtoo [Mon, 10 Jun 2019 02:41:36 +0000 (10:41 +0800)]
Add p2p security module (#143)
* tmp
* Add p2p security module
* Fix review bugs
Chengcheng Zhang [Thu, 6 Jun 2019 08:26:25 +0000 (16:26 +0800)]
find whether config xpubs equal genesis block xpubs (#142)
* find whether config xpubs equal genesis block xpubs
* update
muscle_boy [Thu, 6 Jun 2019 02:10:11 +0000 (10:10 +0800)]
add broadcast block signature (#139)
Chengcheng Zhang [Wed, 5 Jun 2019 13:36:31 +0000 (21:36 +0800)]
add mac function, modify nextBlockTime (#122)
* add mac function, modify nextBlockTime
* delete max function
* update
* modify block timestamp
* update
* update
* update
* update
* update
* update
* update
* update
yahtoo [Wed, 5 Jun 2019 06:27:43 +0000 (14:27 +0800)]
Resolve consensus message sub error (#137)
HAOYUatHZ [Wed, 5 Jun 2019 06:08:54 +0000 (14:08 +0800)]
feat: add fed orm (#136)
* init orm
* feat: add orm
* add status
* fix: fix type mismatch
Paladz [Wed, 5 Jun 2019 05:25:44 +0000 (13:25 +0800)]
Edit bbft (#133)
* Revert "Revert "edit" (#132)"
This reverts commit
885e0da9b0527988339a5039250ef88449adc95a.
* edit the consensus node
* fix the solo net
* edit for code review
HAOYUatHZ [Wed, 5 Jun 2019 03:06:38 +0000 (11:06 +0800)]
fix: add CrossChainInput in NewTxVMContext (#124)
HAOYUatHZ [Wed, 5 Jun 2019 03:00:18 +0000 (11:00 +0800)]
doc: add fed sql schema (#134)
* doc: add gitignore
* chore: clean release-notes
* doc: update fed doc
* doc: add fed sql schema
Paladz [Tue, 4 Jun 2019 09:02:10 +0000 (17:02 +0800)]
Revert "edit" (#132)
Paladz [Tue, 4 Jun 2019 08:59:48 +0000 (16:59 +0800)]
edit (#129)
Paladz [Tue, 4 Jun 2019 08:59:31 +0000 (16:59 +0800)]
Merge branch 'v0.1' into merge_bbft
HAOYUatHZ [Tue, 4 Jun 2019 08:57:29 +0000 (16:57 +0800)]
fix: use mainchain address for cross_chain_out (#131)
* refactor: rename cross_out action
* clean
* fix: fix output address
paladz [Tue, 4 Jun 2019 08:09:15 +0000 (16:09 +0800)]
edit
HAOYUatHZ [Tue, 4 Jun 2019 07:43:53 +0000 (15:43 +0800)]
fix: fix fed program (#127)
* fix FederationProgrom
* fix: fix log
muscle_boy [Tue, 4 Jun 2019 07:40:43 +0000 (15:40 +0800)]
validate vote pubkey (#128)
Paladz [Tue, 4 Jun 2019 06:06:34 +0000 (14:06 +0800)]
tmp save (#123)
* tmp save
* keep edit
* keep edit
* keep edit
* edit for run
* edit the config
yahtoo [Tue, 4 Jun 2019 02:16:30 +0000 (10:16 +0800)]
Modify the p2p module encryption library (#125)
Paladz [Mon, 3 Jun 2019 09:15:40 +0000 (17:15 +0800)]
init push for easy code review (#121)
wz [Mon, 3 Jun 2019 07:35:57 +0000 (15:35 +0800)]
modify list transaction (#119)
wz [Mon, 3 Jun 2019 07:35:09 +0000 (15:35 +0800)]
V0.1 num of consensus node (#118)
* modify num of consensus_node
* fix review
* fix review
Paladz [Mon, 3 Jun 2019 05:51:24 +0000 (13:51 +0800)]
Edit consensus (#116)
* move the config file
* edit the mining block time
muscle_boy [Mon, 3 Jun 2019 02:56:05 +0000 (10:56 +0800)]
fix timestamp (#115)
yahtoo [Mon, 3 Jun 2019 02:45:54 +0000 (10:45 +0800)]
Add mempool sync test (#114)
Paladz [Mon, 3 Jun 2019 01:46:56 +0000 (09:46 +0800)]
Fix mining (#113)
* delete the unused stuff
* edit the mining part
* fix small bug
muscle_boy [Sun, 2 Jun 2019 14:15:12 +0000 (22:15 +0800)]
fix sign block (#112)
* fix sign block
* rename
HAOYUatHZ [Sat, 1 Jun 2019 08:44:39 +0000 (16:44 +0800)]
fix: fix api port (#108)
wz [Sat, 1 Jun 2019 08:41:10 +0000 (16:41 +0800)]
add min vote num (#110)
muscle_boy [Sat, 1 Jun 2019 08:13:42 +0000 (16:13 +0800)]
临时排坑 (#111)
Paladz [Sat, 1 Jun 2019 06:36:24 +0000 (14:36 +0800)]
little edit (#107)
muscle_boy [Sat, 1 Jun 2019 06:27:24 +0000 (14:27 +0800)]
Fix vote (#106)
* fix vote
* fix vote
wz [Sat, 1 Jun 2019 06:22:01 +0000 (14:22 +0800)]
add coinbase staking (#105)
* add coinbase staking
* fix
* fix
* fix test
* fix ci
* fix ci
* fix review
* fix ci
muscle_boy [Fri, 31 May 2019 07:16:25 +0000 (15:16 +0800)]
Accumulate vote (#104)
* accumulate vote
* bug fix
* fix ci
muscle_boy [Fri, 31 May 2019 06:39:12 +0000 (14:39 +0800)]
accumulate vote (#103)
wz [Fri, 31 May 2019 05:53:01 +0000 (13:53 +0800)]
add time limit for votetx (#102)
* add time limit for votetx
* fix
oysheng [Fri, 31 May 2019 03:16:25 +0000 (11:16 +0800)]
fix dpos nodes less than config number (#101)
* fix dpos nodes less than config number
* optimise
* fix
yahtoo [Fri, 31 May 2019 02:59:46 +0000 (10:59 +0800)]
Modify BlockSignatureMsg pubkey length (#100)
muscle_boy [Fri, 31 May 2019 02:40:28 +0000 (10:40 +0800)]
fix next leader time (#98)
* fix next leader time
* launch
* fix verify block signature
Paladz [Thu, 30 May 2019 07:36:31 +0000 (15:36 +0800)]
add init consensus node as fed node (#97)
* add init consensus node as fed node
* add node private key
* logic work
* edit for code review
* edit for code review
* fix in the real case
* fix for run
muscle_boy [Wed, 29 May 2019 10:24:08 +0000 (18:24 +0800)]
fix dpos (#96)
* fix dpos
* modify func name
HAOYUatHZ [Wed, 29 May 2019 10:16:17 +0000 (18:16 +0800)]
feat: add build crosschain input (#91)
* wip: init DecodeCrossOutAction
* refactor: move DecodeCrossInAction to AccountMgr
* fix: fix account/builder.go
* fix: fix asset in crossInAction.Build
* update source in crossInAction.Build
* refactor: clean up
* fix: fix sourceID in crossInAction.Build
* init
* feat: serializeAssetDef & checkValidJSON
* fix
* refactor: add asset.Registry into accountManager
* wip: add asset definition comparison
* feat: cheack asset definition mismatch
* wip
* fix: add
* refactor: add lines
* wup
* revert
* clean
* revert
* merge
* wip
* revert
* clean
* fix
* fix
* clean
* fix
* clean
* fix MustDecodeHash
* fix
* clean up
* init saveExternalAssetDefinition
* fix
* fk
* update
* wip
* update
* draft
* update
* draft
* check replay
* clean
* init
* wwww
* draft conseus fed
* clean
* merfe
* clean
* clean
* clean
* fix https://github.com/Bytom/vapor/pull/77#discussion_r286745872
* fix https://github.com/Bytom/vapor/pull/77#discussion_r286742937
* fix https://github.com/Bytom/vapor/pull/77#discussion_r286744128
* fix https://github.com/Bytom/vapor/pull/77#discussion_r286744426
* fix https://github.com/Bytom/vapor/pull/77#discussion_r286744843
* fix https://github.com/Bytom/vapor/pull/77/files#r286744635 & https://github.com/Bytom/vapor/pull/77#discussion_r286744048 & https://github.com/Bytom/vapor/pull/77#discussion_r286743987
* fix https://github.com/Bytom/vapor/pull/77#discussion_r286744322
* minor
* update
* update
* minor
* format code
* fix
* use genesis config
* update
* update
* clean
* utxo database
* utxo database test
* aha
* wip
* wip
* wip
* claimed
* ???
* init
* foix
* dododod
* fk
* add mainchainOutputIDs
* roll back
* dododo
* update
* revert
* fix
* fix
* fk
* dd
* clean
* roll back
* fix detach
* clean up
* fix https://github.com/Bytom/vapor/pull/91#discussion_r287974764
* fix https://github.com/Bytom/vapor/pull/91#discussion_r287975636
* fix https://github.com/Bytom/vapor/pull/91#discussion_r287976043
* rm path
* fix https://github.com/Bytom/vapor/pull/91#discussion_r287974969
* use type for utxo
* uint32
* add iota
* fix https://github.com/Bytom/vapor/pull/91#discussion_r287980844
* modify build
* modify utxo type
* fix
* fix
yahtoo [Wed, 29 May 2019 09:49:10 +0000 (17:49 +0800)]
Fix block fetcher block insert bug (#95)
muscle_boy [Wed, 29 May 2019 09:26:48 +0000 (17:26 +0800)]
fix vote result (#94)
* fix vote result
* bug fix
* bug fix
* opt code'
* opt code
* bug fix
* bug fix
wz [Wed, 29 May 2019 07:27:09 +0000 (15:27 +0800)]
V0.1 cross chain input prog (#93)
* add federation contract prog
* modify
* delete code
* add validate federation prog for crossinput
* fix
* fix
* fix
yahtoo [Tue, 28 May 2019 13:39:07 +0000 (21:39 +0800)]
Add consensus messages transfer (#90)
* Add consensus messages transfer
* Abstract broadcast message processing
* opz code format
muscle_boy [Tue, 28 May 2019 05:52:35 +0000 (13:52 +0800)]
modify miner block to propose block (#92)
* modify miner block to propose block
* modify miner block to propose block
wz [Mon, 27 May 2019 16:18:10 +0000 (00:18 +0800)]
V0.1 federation parse (#89)
* add init federation
* add init
* add load federation info
* add test
yahtoo [Mon, 27 May 2019 07:30:22 +0000 (15:30 +0800)]
Format netsync module code directory (#88)
wz [Thu, 23 May 2019 09:07:27 +0000 (17:07 +0800)]
store federation (#83)
* store federation
* fix test
* fix unit
* add deal err
* fix review
muscle_boy [Thu, 23 May 2019 09:01:05 +0000 (17:01 +0800)]
dispatch signature when proccess block (#85)
* dispatch signature when proccess block
* remove unuse code
* remove unuse code
* add event dispatcher to bbft
muscle_boy [Thu, 23 May 2019 01:55:12 +0000 (09:55 +0800)]
dpos process sign message (#81)
* dpos process sign message
* opt code
* opt code
muscle_boy [Wed, 22 May 2019 06:29:17 +0000 (14:29 +0800)]
Dpos process block (#69)
* add bbft process block
* merge v0.1
* remove functional test
* opt code
* opt code
* opt code
* bug fix
* bug fix
* opt code
* opt code
* bug fix
* add update consensus node
* opt code
wz [Tue, 21 May 2019 11:32:35 +0000 (19:32 +0800)]
unvotetx action (#80)
* add votetx output action
* add unvotetx action
* add voteoutput change
* add unit test
wz [Tue, 21 May 2019 07:17:38 +0000 (15:17 +0800)]
add votetx output action (#79)
yahtoo [Tue, 21 May 2019 06:22:26 +0000 (14:22 +0800)]
netsync: add txs msg (#78)
HAOYUatHZ [Mon, 20 May 2019 12:16:50 +0000 (20:16 +0800)]
feat: build cross-out tx (#74)
* wip: init for build cross_chain_out
* wip: init DecodeCrossOutAction
* fix: fix crossOutAction.Build()
* wip: rename test
* wip: init TestBuildCrossOut
* feat: add TestBuildCrossOut
* refactor: rename crossOutAction.ActionType
* refactor: add address instead of arbitrary in build crossOutAction
* fix: fix DefaultDataDir
* fix: fix TestBuildCrossOut
* refactor: clean up
wz [Mon, 20 May 2019 07:48:40 +0000 (15:48 +0800)]
fix votetx for validation (#75)
wz [Mon, 20 May 2019 06:37:55 +0000 (14:37 +0800)]
V0.1 votetx utxo (#73)
* Modify utxo for votetx
* fix review
* fix test
HAOYUatHZ [Mon, 20 May 2019 03:22:58 +0000 (11:22 +0800)]
test: add utxo test for cross-chain tx (#72)
* init utxo test for cros
* fix: fix utxo test
* test: add CrossChainOutput utxo test
* wip: init cross-in utxo test
* test: add cross-in utxo test
Paladz [Mon, 20 May 2019 03:10:59 +0000 (11:10 +0800)]
ts to ms (#71)
HAOYUatHZ [Mon, 20 May 2019 01:46:04 +0000 (09:46 +0800)]
test: add read/write test for cross-chain input/output (#70)
* fix read/wrire CrossChainInput
* add TestSerializationCrossChainTxOutput
HAOYUatHZ [Fri, 17 May 2019 06:58:18 +0000 (14:58 +0800)]
feature: add cross-chain input (#61)
* refactor: rename files
* feat: add types.CrossChainInput
* feat: add protocol.CrossChainInput
* wip: init bc.CrossChainInput
* fix: add mainchain output hash
* fix: fix letter cases
* refactor: fix indent
* fix: fix missing value in CrossChainInput
* fix: fix NewCrossChainInput()
* wip: upgrade MapTx()
* refactor: use issue's type indicator for cross-chain input
* revert
* wip: loop Inputs in mapTx()
* wip: add crossIn.SetDestination() in mapTx()
* feat: draft mapTx()
* refactor: remove ruleAA
* feat: add checkValidSrc
* wip: init crossIn in checkValid()
* wip: add vm.Verify for *bc.CrossChainInput
* feat: skip gas for CrossChainInput
* refactor: clean up
* fix: fix protobuf
* fix: fix validate tx
* update (t *TxInput) AssetAmount()
* add (t *TxInput) Amount()
* update
* clean
* wip: types/txinputs.go
* feat: draft types.TxInput
* fix: fix test
* clean
* fix outputID
* init assetDefinition
* add read/write AssetDefinition
* fix the merge issue
yahtoo [Fri, 17 May 2019 04:19:22 +0000 (12:19 +0800)]
Nodeinfo handshake information modification (#68)
* Nodeinfo handshake information modification
* Add moniker to config file
* Add node info test file
* Del useless code
* opz code format
* opz log print
wz [Fri, 17 May 2019 02:57:28 +0000 (10:57 +0800)]
V0.1 votetx input (#67)
* add unvote struct
* modify ComputeOutputID
* add uint test
* fix
yahtoo [Thu, 16 May 2019 14:15:48 +0000 (22:15 +0800)]
Optimize status message process (#66)
* StatusResponseMessage del GenesisHash
* Del useless broadcastMinedBlock msg
* Add StatusMsg process
* Add new status broadcast
Paladz [Thu, 16 May 2019 06:46:15 +0000 (14:46 +0800)]
init for remove issue (#63)
* init for remove issue
* keep remove issue
* delete the issuance
* remove issue related
wz [Thu, 16 May 2019 06:37:07 +0000 (14:37 +0800)]
Add validate votetx (#64)
* Add validate votetx
* delete uint test
* fix review
* recover code
* recover code
* fix
* fix
muscle_boy [Wed, 15 May 2019 15:00:49 +0000 (23:00 +0800)]
bft-dpos (#59)
* bft-dpos
* bug fix
* opt code
* add test case
* opt code
wz [Wed, 15 May 2019 04:54:56 +0000 (12:54 +0800)]
votetx output (#62)
* refactor: move ComputeOutputID() for SpendCommitment
* wip: init OutputType
* refactor: rename NewTxOutput to NewIntraChainTxOutput
* wip: typed intra-chain output
* feat: add CrossChainTxOutput
* fix: fix CrossChainOutputType
* doc: update todo
* init bc
* fix
* wip: bc NewIntraChainOutput
* fix: bc IntraChainOutput
* fix: fix tx.Output()
* move ComputeOutputID back
* fix types.NewIntraChainTxOutput & types.NewCrossChainTxOutput
* doc: update todo
* fix: add VMVersion, ControlProgram and AssetAmount for types.Output
* fix map.go
* fix txfeed
* fix peer.go
* fi
* rename
* fix TxOutput.readFrom()
* fix TxOutput.readFrom()
* use currentAssetVersion
* clean
* update todos
* add cross-chain in mapTx.go
* doc: update comments
* wip: check IntraChainOutput source in validation
* wip: checkValidDest() checks CrossChainOutput
* fix checkStandardTx
* fix: fix checkStandardTx
* fix: fix TxOutput.writeTo()
* fix hard-coded AssetVersion
* roll back assetVersion
* refactor: rename ComputeOutputID
* refactor: rename ComputeOutputID()
* fix blockchain/txbuilder/txbuilder_test.go
* fix: fix crosschainOut as Input
* doc: fix comments
* wip
* clean
* fix
* fix
* fix
* Add vote output for types and bc
* add uint test
* Add uint test
* modify name
* fix review
yahtoo [Wed, 15 May 2019 03:14:35 +0000 (11:14 +0800)]
Fix discovery msg codec hash error (#60)
* Fix udp discovery packet hash error
* Fix test file error
HAOYUatHZ [Tue, 14 May 2019 14:48:30 +0000 (22:48 +0800)]
feat: add cross-chain output (#56)
* refactor: move ComputeOutputID() for SpendCommitment
* wip: init OutputType
* refactor: rename NewTxOutput to NewIntraChainTxOutput
* wip: typed intra-chain output
* feat: add CrossChainTxOutput
* fix: fix CrossChainOutputType
* doc: update todo
* init bc
* fix
* wip: bc NewIntraChainOutput
* fix: bc IntraChainOutput
* fix: fix tx.Output()
* move ComputeOutputID back
* fix types.NewIntraChainTxOutput & types.NewCrossChainTxOutput
* doc: update todo
* fix: add VMVersion, ControlProgram and AssetAmount for types.Output
* fix map.go
* fix txfeed
* fix peer.go
* fi
* rename
* fix TxOutput.readFrom()
* fix TxOutput.readFrom()
* use currentAssetVersion
* clean
* update todos
* add cross-chain in mapTx.go
* doc: update comments
* wip: check IntraChainOutput source in validation
* wip: checkValidDest() checks CrossChainOutput
* fix checkStandardTx
* fix: fix checkStandardTx
* fix: fix TxOutput.writeTo()
* fix hard-coded AssetVersion
* roll back assetVersion
* refactor: rename ComputeOutputID
* refactor: rename ComputeOutputID()
* fix blockchain/txbuilder/txbuilder_test.go
* fix: fix crosschainOut as Input
* doc: fix comments
* wip
* clean
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* clean
* fix
* fix
* fix
* fix
* fix
* fix wip
* should fix
* figure out
* fix comment
* fix estimate gas
* fixing
* try merkle
* fix merkle test
* fix merkle comp
* fix TestTxOutToUtxos()
* fix TestReadFrom
* minor
* try fix the ci
yahtoo [Tue, 14 May 2019 09:19:14 +0000 (17:19 +0800)]
Add subnet having the same network ID isolation function (#57)
* Network isolation main chain and side chain
* Add test cases
* Del unused code
* Uniform variable name
* Opz log
* Generate unique network ID using genesisBlock hash
* Change Bech32HRPSegwit to 'vp'
* Change netID generate method
Chengcheng Zhang [Mon, 13 May 2019 16:00:20 +0000 (00:00 +0800)]
V0.1 pk interface (#58)
* add XPrvKeyer, XPubKeyer interface
* create bcsp
* add csp
* update interface XPubKeyer
* add gm lib
* update
* delete gm lib
* delete old gm lib
* update config
wz [Fri, 10 May 2019 02:49:40 +0000 (10:49 +0800)]
Add BlockWitness (#54)
* Add BlockWitness
* modify test and Add BlockWitness for proto
* add unit test
* modify code format
* modify review
* Modify unit test
Paladz [Fri, 10 May 2019 01:04:54 +0000 (09:04 +0800)]
init delete the pow related (#55)
* init delete the pow related
* fix the issue
* fix the ci
* test ci
* remove the nonce and bits
Paladz [Thu, 9 May 2019 08:44:36 +0000 (16:44 +0800)]
test (#52)
* test
* edit the ci config
* edit the path issue
paladz [Thu, 9 May 2019 06:12:06 +0000 (14:12 +0800)]
Hulk did something
paladz [Thu, 9 May 2019 06:02:32 +0000 (14:02 +0800)]
Thanos did someting
wz [Wed, 3 Apr 2019 06:48:48 +0000 (14:48 +0800)]
Merge pull request #41 from Bytom/dev
Dev
mars [Wed, 3 Apr 2019 06:38:55 +0000 (14:38 +0800)]
Add docs html
wz [Wed, 3 Apr 2019 02:55:58 +0000 (10:55 +0800)]
Merge pull request #40 from Bytom/dev_docs
Dev docs
wz [Wed, 3 Apr 2019 02:38:29 +0000 (10:38 +0800)]
Merge pull request #39 from Bytom/dev_issue_for_dpos
Add Dpos does not handle issue transactions
mars [Wed, 3 Apr 2019 02:35:12 +0000 (10:35 +0800)]
Modify readme
mars [Wed, 3 Apr 2019 02:31:12 +0000 (10:31 +0800)]
Add png dir
mars [Wed, 3 Apr 2019 02:30:35 +0000 (10:30 +0800)]
Add png dir
mars [Wed, 3 Apr 2019 02:04:24 +0000 (10:04 +0800)]
modify doc of claim
mars [Wed, 3 Apr 2019 01:40:17 +0000 (09:40 +0800)]
modify doc of consensus
mars [Tue, 2 Apr 2019 09:42:27 +0000 (17:42 +0800)]
Add doc of claim
mars [Tue, 2 Apr 2019 09:24:11 +0000 (17:24 +0800)]
Add doc of consensus
wz [Tue, 2 Apr 2019 07:44:55 +0000 (15:44 +0800)]
Set theme jekyll-theme-leap-day
mars [Tue, 2 Apr 2019 07:19:27 +0000 (15:19 +0800)]
Add docs
wz [Mon, 1 Apr 2019 06:22:28 +0000 (14:22 +0800)]
Set theme jekyll-theme-leap-day
mars [Mon, 1 Apr 2019 06:17:32 +0000 (14:17 +0800)]
add docs
mars [Fri, 29 Mar 2019 01:30:30 +0000 (09:30 +0800)]
Add Dpos does not handle issue transactions