OSDN Git Service
Paladz [Thu, 20 Jun 2019 03:20:25 +0000 (11:20 +0800)]
Merge pull request #205 from Bytom/v0.1_fix_bug
fix bug
wz [Thu, 20 Jun 2019 03:19:27 +0000 (11:19 +0800)]
Merge branch 'master' into v0.1_fix_bug
mars [Thu, 20 Jun 2019 03:17:10 +0000 (11:17 +0800)]
fix bug
Paladz [Thu, 20 Jun 2019 03:17:07 +0000 (11:17 +0800)]
Merge pull request #201 from Bytom/v0.1
V0.1
Paladz [Thu, 20 Jun 2019 03:06:14 +0000 (11:06 +0800)]
edit config (#200)
* edit config
* edit the config
* edit the ts
* edit the config
wz [Thu, 20 Jun 2019 02:37:56 +0000 (10:37 +0800)]
V0.1 docs crosschain (#199)
* Cancel contract of btm inspection
* fix test
* modify docs of crosschain
wz [Thu, 20 Jun 2019 02:28:31 +0000 (10:28 +0800)]
Cancel contract of btm inspection (#198)
* Cancel contract of btm inspection
* fix test
wz [Thu, 20 Jun 2019 01:45:12 +0000 (09:45 +0800)]
modify utxi limit (#197)
Paladz [Wed, 19 Jun 2019 12:39:48 +0000 (20:39 +0800)]
fix the orphan issue (#193)
* fix the orphan issue
* add unit test
Zhiting Lin [Wed, 19 Jun 2019 05:56:23 +0000 (13:56 +0800)]
update dashboard. (#192)
wz [Wed, 19 Jun 2019 05:40:32 +0000 (13:40 +0800)]
rename unvote to veto (#191)
HAOYUatHZ [Wed, 19 Jun 2019 05:23:37 +0000 (13:23 +0800)]
fix(cross_chain): add asset_id check in cross_chain_in request (#177)
* init issuance_program
* add asset
* fix
* modify asset of crosschain input
* fix test
* add assetdef of bc
* fix
* modify code
* fix check assetID
* fix wallet uint
* fix review
* fix utxo uint test
* delete code
* remove space
* fix review
* remove checkfederation
* fix review
Paladz [Tue, 18 Jun 2019 17:51:20 +0000 (01:51 +0800)]
delete the unused (#190)
Zhiting Lin [Tue, 18 Jun 2019 08:38:34 +0000 (16:38 +0800)]
update vapor dashboard (#189)
Paladz [Tue, 18 Jun 2019 01:38:19 +0000 (09:38 +0800)]
elegant the code (#187)
paladz [Mon, 17 Jun 2019 16:28:34 +0000 (00:28 +0800)]
Revert "delete the crazy log"
This reverts commit
f3267d4dab32355bc233ae8be5f322cb039dfc59.
paladz [Mon, 17 Jun 2019 16:28:24 +0000 (00:28 +0800)]
Revert "rename the block cache to cache"
This reverts commit
d7f2ef1a8d3d81f1e3af93823b60be367edbafae.
paladz [Mon, 17 Jun 2019 16:28:02 +0000 (00:28 +0800)]
Revert "modify the store code"
This reverts commit
4fbc190f49c61c6c08e61fb2897fc037c8155c05.
paladz [Mon, 17 Jun 2019 16:23:24 +0000 (00:23 +0800)]
modify the store code
paladz [Mon, 17 Jun 2019 15:18:23 +0000 (23:18 +0800)]
rename the block cache to cache
paladz [Mon, 17 Jun 2019 15:08:27 +0000 (23:08 +0800)]
delete the crazy log
muscle_boy [Mon, 17 Jun 2019 12:00:35 +0000 (20:00 +0800)]
fix vote result (#186)
Chengcheng Zhang [Mon, 17 Jun 2019 10:44:50 +0000 (18:44 +0800)]
update vote result cache (#185)
* update
* update
wz [Mon, 17 Jun 2019 06:48:09 +0000 (14:48 +0800)]
modify block serialize (#184)
wz [Mon, 17 Jun 2019 06:19:42 +0000 (14:19 +0800)]
fix cache of sign (#183)
Chengcheng Zhang [Mon, 17 Jun 2019 06:16:16 +0000 (14:16 +0800)]
V0.1 vote result cache (#182)
* add voteResultCache lookup get add
* add GetVoteResult
* add TestVoteResultCache
* embed vote result cache in blockCache
* update
wz [Sat, 15 Jun 2019 07:42:12 +0000 (15:42 +0800)]
split block (#180)
* split block
* fix test
* fix test
* rm code
* fix review
* fix test
* fix test
* fix cache
* modify func name
* modify import
* fix review
* fit text
muscle_boy [Fri, 14 Jun 2019 07:37:06 +0000 (15:37 +0800)]
add thread safe lru (#179)
Zhiting Lin [Fri, 14 Jun 2019 07:04:34 +0000 (15:04 +0800)]
update vapor dashboard (#178)
HAOYUatHZ [Fri, 14 Jun 2019 03:01:02 +0000 (11:01 +0800)]
feat(federation): add mainchain & sidechain listener (#170)
* init processChainInfo
* init ErrInconsistentDB
* clean
* fix processChainInfo
* fix
* init
* init
* add err handling
* fix
* fix
* fix
* fk
* fk
* fix
* dododo
* fix
* fk
* add add add
* fix
* fix
* fk
* fix
* clean
* dododo
* fk
* fox
* add
* add
* draft
* clean up
* clean up
* clean
* fix typo
* dododo
* rename
* fix
* fix
* add
* add
* fix https://github.com/Bytom/vapor/pull/170#discussion_r293642418
* fix
* clean
Chengcheng Zhang [Thu, 13 Jun 2019 13:53:32 +0000 (21:53 +0800)]
add block witness update function (#176)
* add block witness update function
* add Delete and test function
* update
* update
* update
* update
muscle_boy [Thu, 13 Jun 2019 10:37:38 +0000 (18:37 +0800)]
fix utxo valid height (#174)
* fix utxo valid height
* fix ci
* opt code
wz [Thu, 13 Jun 2019 08:50:23 +0000 (16:50 +0800)]
add cancel vote (#172)
* add cancel vote
* fix review
* modify name
* fix review
* fix test
* fix test
muscle_boy [Thu, 13 Jun 2019 07:49:03 +0000 (15:49 +0800)]
add get-blocker api (#173)
* add get-blocker api
* opt code
Chengcheng Zhang [Thu, 13 Jun 2019 03:31:07 +0000 (11:31 +0800)]
check vote output amount (#171)
* check vote output amount
* update
HAOYUatHZ [Wed, 12 Jun 2019 13:20:43 +0000 (21:20 +0800)]
refactor(federation): refactor db schema (#169)
* add
* fix typo
Chengcheng Zhang [Wed, 12 Jun 2019 11:38:04 +0000 (19:38 +0800)]
V0.1 docker (#166)
* modify docker
* update
* update
* update
* update
* update
* update
HAOYUatHZ [Wed, 12 Jun 2019 09:33:30 +0000 (17:33 +0800)]
feat: add processIssuing (#152)
* init asset
* add confirmations
* fix
* add processBlock
* clean db
* add getAsset
* fix https://github.com/Bytom/vapor/pull/152#discussion_r291964871 & https://github.com/Bytom/vapor/pull/152#discussion_r291964144
* init AssetCache
* set maxAssetCached
* add rm get
* implement add get remove assetCache
* use assetCache instead of assetMap
* use hashicorp/golang-lru
* add bytom vendor
* fix submodule
* use golang/groupcache/lru
* fix https://github.com/Bytom/vapor/pull/152#discussion_r292805572
* fix asset create
muscle_boy [Wed, 12 Jun 2019 08:38:28 +0000 (16:38 +0800)]
add get-consensus-nodes api (#159)
* add get-consensus-nodes api
* add get vote result api
* bug fix
* remove is consensus node
* bug fix
* remove is consensus
* add sort for get vote result api
* rename
muscle_boy [Wed, 12 Jun 2019 08:16:23 +0000 (16:16 +0800)]
fix detach vote (#164)
HAOYUatHZ [Wed, 12 Jun 2019 08:12:21 +0000 (16:12 +0800)]
fix: waive charging storage gas for cross-chain (#162)
* fix: do not charge storage gas for cross-chain
* fix: fix skip-storage-gas attack
wz [Wed, 12 Jun 2019 06:45:35 +0000 (14:45 +0800)]
modify (#161)
Paladz [Wed, 12 Jun 2019 05:50:32 +0000 (13:50 +0800)]
fix bug (#160)
* fix bug
* fix bug
muscle_boy [Tue, 11 Jun 2019 08:32:09 +0000 (16:32 +0800)]
add witness to get block api (#158)
wz [Tue, 11 Jun 2019 08:24:14 +0000 (16:24 +0800)]
add api for vote num (#149)
* add api for vote num
* fix review
* fix review
Paladz [Tue, 11 Jun 2019 06:43:49 +0000 (14:43 +0800)]
prevent the double sign lock (#157)
yahtoo [Tue, 11 Jun 2019 06:18:52 +0000 (14:18 +0800)]
Del useless status update (#156)
Paladz [Tue, 11 Jun 2019 05:45:51 +0000 (13:45 +0800)]
init push for roll back in special case (#153)
* init push for roll back in special case
* edit for the problem
* edit the smal issue
* edit for code review
wz [Tue, 11 Jun 2019 01:55:06 +0000 (09:55 +0800)]
add docs for vote (#155)
HAOYUatHZ [Tue, 11 Jun 2019 01:20:46 +0000 (09:20 +0800)]
doc: add cross-chain tx api doc (#154)
* init doc
* finish cross-chain api doc
* revert
* clean
muscle_boy [Mon, 10 Jun 2019 10:00:34 +0000 (18:00 +0800)]
fix reorganize vote result (#151)
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