OSDN Git Service
ipqhjjybj [Wed, 19 Feb 2020 10:09:43 +0000 (18:09 +0800)]
Rollback pr2, rollback 的时候,更新 wallet 的状态, 改内核的下一个版本发 (#493)
* add rollback_func
* add wallet rollback
* update wallet finished
* add new wallet rollback flag
* fix one flag
* new design of new wallet
* update one comment
* rollback status from one wallet best hash start
* change two func name
* fix one test
* change rollback func return info
* remove ugly code
* fix ugly code
* remove ugly code
Poseidon [Wed, 19 Feb 2020 06:43:30 +0000 (14:43 +0800)]
fix init mov state (#492)
* fix init mov state
* remove Junk files
ipqhjjybj [Wed, 19 Feb 2020 01:51:27 +0000 (09:51 +0800)]
add deleteBlock and then fix some tests (#491)
* add deleteBlock and then fix some tests
* add new test
* delete line
* fix one error
* change test case
* add s to word
* s
* update test cases
* update package and delete one same case
Co-authored-by: Paladz <yzhu101@uottawa.ca>
HAOYUatHZ [Sat, 15 Feb 2020 11:27:46 +0000 (19:27 +0800)]
filter txpool by asset whitelis (#488)
* add AssetWhitelist to FederationConfig
* use []*bc.AssetID for AssetWhitelist
* add (f *FederationAssetFilter) IsDust()
* fix https://github.com/Bytom/vapor/pull/488#discussion_r379226522
* fix https://github.com/Bytom/vapor/pull/488#discussion_r379226868
* fix https://github.com/Bytom/vapor/pull/488/files#r379226149
* fix https://github.com/Bytom/vapor/pull/488/files#r379225830
* convert assetID to lower-case
* golint
Paladz [Thu, 13 Feb 2020 13:02:14 +0000 (21:02 +0800)]
fix add order bug (#489)
* fix add order bug
* edit for code review
Co-authored-by: Colt-Z <453256728@qq.com>
Poseidon [Thu, 13 Feb 2020 03:25:52 +0000 (11:25 +0800)]
Validate matched tx sequence test (#487)
* validate_matched_tx_sequence_test
* validate_matched_tx_sequence_test
* Supplementary unit tests
* rename
Poseidon [Wed, 12 Feb 2020 10:20:05 +0000 (18:20 +0800)]
Validate matched tx sequence test (#486)
* validate_matched_tx_sequence_test
* validate_matched_tx_sequence_test
Paladz [Wed, 12 Feb 2020 02:55:49 +0000 (10:55 +0800)]
final code review (#484)
* final code review
* edit for code review
Co-authored-by: Colt-Z <453256728@qq.com>
Poseidon [Thu, 6 Feb 2020 11:21:34 +0000 (19:21 +0800)]
Opt mathch collector (#482)
* opt_mathch_collector
* opt_mathch_collector
Poseidon [Thu, 6 Feb 2020 10:50:04 +0000 (18:50 +0800)]
opt_mathch_collector (#483)
Poseidon [Thu, 6 Feb 2020 10:39:34 +0000 (18:39 +0800)]
fix match collector (#481)
* fix match collector
* add comment
Poseidon [Thu, 6 Feb 2020 09:28:51 +0000 (17:28 +0800)]
opt mov performance (#480)
* opt mov performance
* opt mov performance
* fix ci
* bug fix
* bug fix
* opt code
* remove test
* remove unknow file
* opt code
* opt code
* add comment
* opt code
* bug fix
* opt code
* use int for worker num
Poseidon [Wed, 22 Jan 2020 07:05:54 +0000 (15:05 +0800)]
fix decimal (#479)
* fix decimal
* fix decimal
* bug fix
* fix decimal
Poseidon [Mon, 20 Jan 2020 12:27:13 +0000 (20:27 +0800)]
complement mov test (#477)
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Poseidon [Mon, 20 Jan 2020 08:06:09 +0000 (16:06 +0800)]
fix_open_federation_issue_asset (#478)
* fix_open_federation_issue_asset
* opt code
Paladz [Thu, 26 Dec 2019 06:46:26 +0000 (14:46 +0800)]
Merge pull request #473 from Bytom/master
Fix bug (#472)
ipqhjjybj [Thu, 26 Dec 2019 06:02:49 +0000 (14:02 +0800)]
Fix bug (#472)
* fix bug for vote & normal output
* 修复提交同样的错误交易时,放回成功的bug
Co-authored-by: Colt-Z <453256728@qq.com>
Poseidon [Tue, 24 Dec 2019 13:49:50 +0000 (21:49 +0800)]
opt mov validate match tx (#470)
* opt mov validate match tx
* fix validate trade pair
Co-authored-by: Paladz <yzhu101@uottawa.ca>
Paladz [Tue, 24 Dec 2019 12:20:59 +0000 (20:20 +0800)]
Merge pull request #471 from Bytom/mov_merge_master
Mov merge master
shenao78 [Tue, 24 Dec 2019 12:10:04 +0000 (20:10 +0800)]
Merge branch 'master' into mov
Poseidon [Tue, 24 Dec 2019 11:52:15 +0000 (19:52 +0800)]
fix lru bug (#469)
* fix lru bug
* remove blanck line
Poseidon [Fri, 6 Dec 2019 12:45:40 +0000 (20:45 +0800)]
Fix mov issue (#462)
* fix mov infinite loop
* validate equals trade pair
* cycle match
* fix ci
Paladz [Fri, 6 Dec 2019 11:58:55 +0000 (19:58 +0800)]
Merge pull request #466 from Bytom/update-mov
Update mov
Paladz [Fri, 6 Dec 2019 11:57:42 +0000 (19:57 +0800)]
Merge pull request #467 from Bytom/fix
fix rename
Chengcheng Zhang [Fri, 6 Dec 2019 11:05:38 +0000 (19:05 +0800)]
update
Chengcheng Zhang [Fri, 6 Dec 2019 10:48:31 +0000 (18:48 +0800)]
update
Chengcheng Zhang [Fri, 6 Dec 2019 10:46:42 +0000 (18:46 +0800)]
update
Chengcheng Zhang [Fri, 6 Dec 2019 10:35:45 +0000 (18:35 +0800)]
update repo
Chengcheng Zhang [Fri, 6 Dec 2019 09:01:15 +0000 (17:01 +0800)]
rename (#465)
Chengcheng Zhang [Fri, 6 Dec 2019 07:37:13 +0000 (15:37 +0800)]
fix cache (#463)
* fix cache
* update
Poseidon [Wed, 4 Dec 2019 09:06:17 +0000 (17:06 +0800)]
fix mov infinite loop (#461)
* fix mov infinite loop
* validate equals trade pair
HAOYUatHZ [Tue, 3 Dec 2019 01:56:54 +0000 (09:56 +0800)]
Issuance length (#460)
* increase length
* change to mediumtext
* init
Paladz [Mon, 2 Dec 2019 05:15:30 +0000 (13:15 +0800)]
fix recursive order (#458)
* fix recursive order
* edit logic
* fix the test
Paladz [Wed, 27 Nov 2019 11:07:29 +0000 (19:07 +0800)]
try fix bug (#457)
Paladz [Wed, 27 Nov 2019 11:04:21 +0000 (19:04 +0800)]
init version for edit sign process (#454)
* init version for edit sign process
* eleagent the code
* elegant the code
Paladz [Wed, 27 Nov 2019 10:39:28 +0000 (18:39 +0800)]
try to fix network issue (#456)
* try to fix network issue
* try fix bug
* try fix
Paladz [Wed, 27 Nov 2019 07:59:13 +0000 (15:59 +0800)]
drop the useless tx (#455)
* drop the useless tx
* fix bug
Poseidon [Wed, 27 Nov 2019 07:25:05 +0000 (15:25 +0800)]
fix mov should pay amount (#453)
* fix mov should pay amount
* opt code
Paladz [Wed, 27 Nov 2019 07:14:41 +0000 (15:14 +0800)]
add op mul fraction to solve the mov exchange issue (#452)
* add op mul fraction to solve the mov exchange issue
* minor
* edit for code review
* no water
Poseidon [Mon, 25 Nov 2019 04:30:01 +0000 (12:30 +0800)]
Update testnet config (#451)
* update testnet config
* update testnet param
* rollback federation config
Paladz [Mon, 25 Nov 2019 03:33:53 +0000 (11:33 +0800)]
timeout level (#450)
* timeout level
* fix ci
* edit for code review
* edit for code review
wz [Mon, 25 Nov 2019 03:12:08 +0000 (11:12 +0800)]
fix (#449)
Poseidon [Mon, 25 Nov 2019 03:09:02 +0000 (11:09 +0800)]
fix request amount zero (#448)
Paladz [Mon, 25 Nov 2019 03:04:00 +0000 (11:04 +0800)]
submit tx protocol verify (#447)
Paladz [Sat, 23 Nov 2019 02:33:10 +0000 (10:33 +0800)]
fix the roll back dead lock (#446)
DeKaiju [Fri, 22 Nov 2019 05:14:14 +0000 (13:14 +0800)]
fix(log): change p2p connection error log level (#445)
Paladz [Thu, 21 Nov 2019 08:56:37 +0000 (16:56 +0800)]
set proposal have timeout (#444)
* set proposal have timeout
* edit for code review
Poseidon [Wed, 13 Nov 2019 11:15:55 +0000 (19:15 +0800)]
fix mov dead lock (#443)
* fix mov dead lock
* Delete LOCK
Poseidon [Wed, 13 Nov 2019 06:47:56 +0000 (14:47 +0800)]
fix sync status (#442)
wz [Tue, 12 Nov 2019 14:03:03 +0000 (22:03 +0800)]
Modify corssout tx action (#441)
* add program for crossout action
* fix
Paladz [Tue, 12 Nov 2019 02:16:39 +0000 (10:16 +0800)]
add the comment (#439)
Paladz [Wed, 6 Nov 2019 02:08:34 +0000 (10:08 +0800)]
same change while go over the codes (#438)
* same change while go over the codes
* roll back mis edit
Paladz [Tue, 5 Nov 2019 11:12:36 +0000 (19:12 +0800)]
Check mov store (#437)
* over view code of database/mov_store
* delete the duplicate code
* change the batch read number
Paladz [Tue, 5 Nov 2019 06:26:24 +0000 (14:26 +0800)]
Merge pull request #436 from Bytom/fix_match
fix match
shenao78 [Tue, 5 Nov 2019 06:19:01 +0000 (14:19 +0800)]
opt code
shenao78 [Tue, 5 Nov 2019 06:11:33 +0000 (14:11 +0800)]
fix match
Paladz [Mon, 4 Nov 2019 14:33:04 +0000 (22:33 +0800)]
add mov core test (#435)
* add mov core test
* add calcMatchedTxFee test
* import order
shenao78 [Mon, 4 Nov 2019 14:32:17 +0000 (22:32 +0800)]
fix order table test
shenao78 [Mon, 4 Nov 2019 14:29:04 +0000 (22:29 +0800)]
import order
shenao78 [Mon, 4 Nov 2019 09:07:33 +0000 (17:07 +0800)]
add calcMatchedTxFee test
shenao78 [Mon, 4 Nov 2019 08:09:09 +0000 (16:09 +0800)]
add mov core test
Poseidon [Fri, 1 Nov 2019 09:53:15 +0000 (17:53 +0800)]
fix order table (#434)
Poseidon [Fri, 1 Nov 2019 02:52:52 +0000 (10:52 +0800)]
merge order from pool (#432)
* merge order from pool
* bug fix order table
* bug fix order table
* bug fix
* rename
Paladz [Fri, 1 Nov 2019 02:35:16 +0000 (10:35 +0800)]
fix bug for vote & normal output (#433)
Poseidon [Thu, 31 Oct 2019 09:50:22 +0000 (17:50 +0800)]
Mov merge (#430)
* Add MOV subprotol framework support
* opz code format
* opz code format
* Del unused code
* Set chain Tx Gas 0 (#409)
* Set chain Tx Gas 0
* Fix test file err
* Revert test file modify
* Modify interface function
* Opz code format
* MOV add startpoint
* mov merge
* fix ci
* opt code
* fix ci
* opt code
* fix dead lock
* opt code
* bug fix
* fix ci
* revert comment
* fix bug
* remove unuse parameter
* fix validate coinbase
* add calc matchedtx gas func
* opt code
* remove useless code
* opt validate
* block height limit for before proposal block
Poseidon [Tue, 29 Oct 2019 11:28:48 +0000 (19:28 +0800)]
add status fail check (#431)
Poseidon [Mon, 28 Oct 2019 08:11:57 +0000 (16:11 +0800)]
fix mov (#429)
Poseidon [Mon, 28 Oct 2019 05:55:30 +0000 (13:55 +0800)]
mov joint (#428)
* mov joint
* bug fix
* opt code
* fix ci
* format code
Poseidon [Mon, 28 Oct 2019 02:45:38 +0000 (10:45 +0800)]
fix mov database (#427)
Poseidon [Fri, 25 Oct 2019 01:51:24 +0000 (09:51 +0800)]
mov core (#421)
* mov core
* bug fix
* opt code
* remove validate contract in validate cancel order
* fix validate
* bug fix
* bug fix
* fix ci
wz [Thu, 24 Oct 2019 14:33:16 +0000 (22:33 +0800)]
Modify federation sync (#422)
* Set chain Tx Gas 0 (#409)
* Set chain Tx Gas 0
* Fix test file err
* Revert test file modify
* add filter asset
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix a small bug
* delete unused
wz [Thu, 24 Oct 2019 07:57:54 +0000 (15:57 +0800)]
modify crossin transaction (#416)
* modify crossin transaction
* add test
* fix review
* fix
* fix
* fix
* fix
* fix
* fix
* fix
wz [Thu, 24 Oct 2019 07:51:59 +0000 (15:51 +0800)]
fix travis (#425)
wz [Thu, 24 Oct 2019 07:05:17 +0000 (15:05 +0800)]
add release notes (#424)
* add release notes
* fix
* fix
Zhiting Lin [Thu, 24 Oct 2019 03:10:15 +0000 (11:10 +0800)]
dashboard: update chain transactions (#414)
* dashboard: update chain transactions
* Dashboard: update chain transactions with switchers.
Chengcheng Zhang [Thu, 24 Oct 2019 03:05:16 +0000 (11:05 +0800)]
update (#423)
Poseidon [Wed, 23 Oct 2019 09:31:05 +0000 (17:31 +0800)]
match engine (#418)
* match engine
* opt code
* update comment
* opt code
* fix validate trade pairs
* remove magic num
* opt canNotMatched func
* refactor
yahtoo [Wed, 23 Oct 2019 06:13:37 +0000 (14:13 +0800)]
change version v1.0.4 (#420)
iczc [Tue, 22 Oct 2019 08:27:55 +0000 (16:27 +0800)]
fix log level (#417)
Poseidon [Tue, 22 Oct 2019 07:13:38 +0000 (15:13 +0800)]
Mov database iterator (#415)
* mov_database_iterator
* opt log
wz [Wed, 16 Oct 2019 05:58:51 +0000 (13:58 +0800)]
fix bug (#412)
* fix bug
* fix
* fix name
* fix func name
* fix
oysheng [Wed, 16 Oct 2019 01:41:11 +0000 (09:41 +0800)]
modify parameter name (#411)
yahtoo [Tue, 15 Oct 2019 02:10:59 +0000 (10:10 +0800)]
Set chain Tx Gas 0 (#409)
* Set chain Tx Gas 0
* Fix test file err
* Revert test file modify
oysheng [Sat, 12 Oct 2019 09:07:11 +0000 (17:07 +0800)]
magnetic program (#402)
* add dex program
* optimise
* adjust code position
* add DecodeP2DCProgram
* optimise code format
* add contract code annotation
* adjust contract
* optimise
* modify contract name
* optimse
* adjust contract
* optimise
* delete redundant code
* optimse
* optimise
* add contract tx test
* add wrong test and ring contract
* optimise
* optimise
* optimise test
* optimise
* optimise
wz [Thu, 10 Oct 2019 08:21:31 +0000 (16:21 +0800)]
Dex database logic implementation (#404)
* add logic
* Add logic implementation
* fix name
* fix
* fix
* fix
* fix and add test
* fix test
* fix
* fix
* fix space line
yahtoo [Fri, 27 Sep 2019 07:26:36 +0000 (15:26 +0800)]
Specify lan discovery service name (#407)
wz [Wed, 25 Sep 2019 02:23:28 +0000 (10:23 +0800)]
database struct (#401)
* database struct
* modify filename
* modify dir
* fix rebiew
* fix
* add error for return
* fix
* fix
Paladz [Fri, 20 Sep 2019 14:43:46 +0000 (22:43 +0800)]
fix the regular sync dust block problem (#400)
* fix the regular sync dust block problem
* fix the crazy log
* fix ci test
* change the version
* fix bug on handle orphan block
Paladz [Thu, 19 Sep 2019 10:48:12 +0000 (18:48 +0800)]
fix the bug (#399)
* fix the bug
* modify soft point height
* modify
Poseidon [Wed, 11 Sep 2019 05:53:28 +0000 (13:53 +0800)]
fix mainchain keeper (#398)
* fix mainchain keeper
* opt code
* opt code
* remove config
wyjDoraemon [Fri, 6 Sep 2019 08:36:02 +0000 (16:36 +0800)]
test case (#397)
* add database utxo test
* add database utxo_view test case
* db close
* entry_test
wyjDoraemon [Thu, 5 Sep 2019 08:10:18 +0000 (16:10 +0800)]
uxto view test (#396)
* add database utxo test
* add database utxo_view test case
* db close
HAOYUatHZ [Tue, 3 Sep 2019 10:56:05 +0000 (18:56 +0800)]
feat: add node discovery and status check (#374)
* clean up
* fix
* add
* wip
* Revert "wip"
This reverts commit
83076e5f7fb08a396786de89d073d0469c72f7ae.
* dododo
* do
* fk
* clean up
* fix netID
* rename
* clean up
* update config
* fix typos
* don't stop
* change
* fix
* add
* fix
* config networkID
* can dial peer
* add comments
* doing
* collect discv
* clean
* add
* host to ip
* clean
* more clean
* refactor
* clean
* for test
* skip
* add best_height for liveness
* minor
* clean
* Revert "clean"
This reverts commit
676391a8b3411ba66fa50841825650bb147199cb.
* clean
* add back seeds
* add
* clean
* clean
* update seeds
* rename
* rename
* rename
* dd
* fix
* refactor
* ??
* fix
* update todo
* ???
* add peers for reactors
* update
* update
* add mock
* more mock
* mock
* add
* disconnect
* refactor
* ....
* why disconnect?
* fk
* not panic anymore
* fix
* fix
* clean up
* fk
* fk
* clean up
* clean up
* clean
* rename
* clean
* rename
* clean
* clean yo
* rename
* add todo
* fk
* ???
* clean up
* fix
* clean
* fix
* fix
* fk
* fix deadlock
* add
* clean
* folder
* fix
* add comments
* clean
* add
* clean up
* rename
* add moniker
* update
* update todo
* fk
* fix
* fix
* add ping
* fix
* move around
* fk
* remove locks
* fk
* fk
* Revert "fk"
This reverts commit
a24d9d6d08105f3db232c0a1c54e2a466ce779fd.
* dododo
* beter
* fk
* try_err....
* fix AvgLantencyMS
* try
* ???
* fl
* fix
* ???
* clean up
* clean
* clean up
* ???
* use dbTX
* clean
* rename
* add
* init gin
* wip
* fix config
* add todos
* add
* add locks
* init discvWg
* add locks for conn
* clean up
* init processDialResult
* mv nodeMap
* rollback upsert
* clean
* fix deadlock
* clean
* fix join
* dododo
* wip
* fix
* add avgLatency
* fix height
* fix
* fix dir
* clean up
* fix rm
* clean
* clean up
* refactot
* fix itme
* fox
* fix order
* LatestDailyUptimeMinutes
* clean
* fix CI
* fix ci
* clean up
* minor
* change check_frequency
* init s.ListNodes
* rename node.host to node.ip
* mv bestHeight
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r318683697
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r318680795
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r318674582
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r318677500
* fix log.Debug
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r318669877
* fix for log
* fix log
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r318673448
* fix
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r318681813
* fix
* refactor
* clean up
* clean up
* ix
* clean
* update
* clean up
* fix ListNodes
* update
* update
* updare
* add status
* fix status
* clean up
* add offset
* clean up
* init rm NodeLiveness
* fix for status
* minor fix for status
* fix
* clean
* fix
* clean up
* check
* fix
* fix
* clean up
* ???
* ip&port
* clean
* fk
* updare
* fk
* fix
* ...
* clean
* peerLisr
* clean
* clean
* fix
* minro
* fix
* fix bestHeight?
* fix nanoseconds
* fix rtt
* rename policy config
* fix status
* fix
* add RequiredRttMS
* clean
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r319836748
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r319840951
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r319840078
* fix for https://github.com/Bytom/vapor/pull/374#discussion_r319835254
* fix
* fix
* rename
* mv timestamp type def
* fix for timestamp
* rollback
wyjDoraemon [Tue, 3 Sep 2019 03:05:46 +0000 (11:05 +0800)]
api add createAccount and createKey (#393)
* api add createAccount and createKey
* skip ci test and reuse data structure
* add api ...
* fix
* fix
* fix createAccount alias
* fix apinode
wz [Fri, 30 Aug 2019 04:15:27 +0000 (12:15 +0800)]
fix no table (#394)
* fix no table
* fix update status
* fix
yahtoo [Thu, 29 Aug 2019 06:26:41 +0000 (14:26 +0800)]
v1.0.1 (#392)
yahtoo [Thu, 29 Aug 2019 05:31:20 +0000 (13:31 +0800)]
fix fast sync skeleton limit error when chain fork (#391)
HAOYUatHZ [Wed, 28 Aug 2019 16:51:02 +0000 (00:51 +0800)]
refactor toolbar/server (#390)
* migrate
* rename
iczc [Wed, 21 Aug 2019 09:02:24 +0000 (17:02 +0800)]
add list chains api (#389)
* add list chains api
* adding json tag to chain struct
wz [Tue, 13 Aug 2019 07:42:59 +0000 (15:42 +0800)]
fix log (#388)