OSDN Git Service

bytom/vapor.git
2 weeks agofix rollback (#543) master
ipqhjjybj [Thu, 12 Nov 2020 02:51:41 +0000 (10:51 +0800)]
fix rollback (#543)

Co-authored-by: Paladz <yzhu101@uottawa.ca>
2 weeks agoedit the version code (#559) v1.1.7
Paladz [Wed, 11 Nov 2020 10:28:45 +0000 (18:28 +0800)]
edit the version code (#559)

Co-authored-by: paladz <colt@ColtdeMBP.partners>
2 weeks agoallow cancel order charge fee (#558)
Paladz [Wed, 11 Nov 2020 09:49:25 +0000 (17:49 +0800)]
allow cancel order charge fee (#558)

* allow cancel order charge fee

* edit for code review

Co-authored-by: paladz <colt@ColtdeMBP.partners>
3 weeks agoreduce the batch tx number (#557)
Paladz [Mon, 2 Nov 2020 12:38:13 +0000 (20:38 +0800)]
reduce the batch tx number (#557)

* reduce the batch tx number

* prevent the roll back

Co-authored-by: paladz <colt@ColtdeMBP.partners>
4 weeks agoadd_soft_limit for max_tx per block (#555)
Paladz [Thu, 29 Oct 2020 13:53:34 +0000 (21:53 +0800)]
add_soft_limit for max_tx per block (#555)

Co-authored-by: paladz <colt@ColtdeMBP.partners>
4 weeks agorun time performance measure (#553)
Paladz [Wed, 28 Oct 2020 06:02:28 +0000 (14:02 +0800)]
run time performance measure (#553)

* run time performance measure

* allow for loop cont time

* add read me doc

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
4 weeks agoprepare 1.1.6 (#552) v1.1.6
Paladz [Mon, 26 Oct 2020 06:26:25 +0000 (14:26 +0800)]
prepare 1.1.6 (#552)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
5 weeks agoadd maker taker (#537)
Poseidon [Thu, 22 Oct 2020 06:52:31 +0000 (14:52 +0800)]
add maker taker (#537)

* add maker taker

* add trader type to input artumetns

* remove block height from engine

* update fee rate

* fix ci

* remove maker taker type

* remove maker taker type

* opt_determine_maker_taker

* price diffs no need reorder

* fix taker fee

* fix validate fee

* recover code

* maker taker equals fee

* opt code

* fix validate fee

* fix ci

* opt validate tx fee

* opt code

* update fork block height

5 weeks agoedit the procss block time (#551)
Paladz [Thu, 22 Oct 2020 06:39:41 +0000 (14:39 +0800)]
edit the procss block time (#551)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
5 weeks agoedit the filter (#550) v4.8.11
Paladz [Wed, 21 Oct 2020 05:45:56 +0000 (13:45 +0800)]
edit the filter (#550)

* edit the filter

* edit small changes

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 months agobuild(version): vapor v1.1.5 release (#549) v1.1.5
DeKaiju [Thu, 24 Sep 2020 09:39:17 +0000 (17:39 +0800)]
build(version): vapor v1.1.5 release (#549)

2 months agoadd net info (#548)
Chengcheng Zhang [Wed, 23 Sep 2020 02:03:27 +0000 (10:03 +0800)]
add net info (#548)

* update

* update

* update

* update

* update

* update

2 months agoduplicate_submit_no_error (#547)
Poseidon [Mon, 21 Sep 2020 05:46:30 +0000 (13:46 +0800)]
duplicate_submit_no_error (#547)

2 months agoadd asset info (#546)
Chengcheng Zhang [Thu, 17 Sep 2020 05:50:22 +0000 (13:50 +0800)]
add asset info (#546)

* add asset info

* update

* update

2 months agodon't ban double sign (#545)
Paladz [Wed, 9 Sep 2020 01:59:55 +0000 (09:59 +0800)]
don't ban double sign (#545)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
2 months agonode-info return irreversible header (#544)
Paladz [Mon, 7 Sep 2020 05:41:58 +0000 (13:41 +0800)]
node-info return irreversible header (#544)

Co-authored-by: paladz <colt@ColtdeMacBook-Pro.local>
3 months agofix_no_add_score_when_double_sign (#542)
Poseidon [Fri, 7 Aug 2020 08:50:04 +0000 (16:50 +0800)]
fix_no_add_score_when_double_sign (#542)

3 months agoFix concurrent sign block (#541)
Poseidon [Fri, 7 Aug 2020 03:07:08 +0000 (11:07 +0800)]
Fix concurrent sign block (#541)

* fix_concurrent_sign_block

* fix check exist block

* fix_concurrent_sign_block

* update error msg

* don't increase ban score when err double sign

* opt code

* use errors.root

4 months agoV1.1.4 release (#539) v1.1.4
Poseidon [Tue, 14 Jul 2020 05:46:10 +0000 (13:46 +0800)]
V1.1.4 release (#539)

* v1.1.4_release

* v1.1.4_release

* remove - shengling2008

* update version

4 months agoupdate_ProducerSubsidys (#538)
Poseidon [Mon, 13 Jul 2020 09:21:37 +0000 (17:21 +0800)]
update_ProducerSubsidys (#538)

* update_ProducerSubsidys

* rerun ci

5 months agoadd asset to white list (#536)
Poseidon [Fri, 12 Jun 2020 06:35:44 +0000 (14:35 +0800)]
add asset to white list (#536)

6 months agoHot fix (#535) v1.1.3
Paladz [Sat, 23 May 2020 04:21:44 +0000 (12:21 +0800)]
Hot fix (#535)

* fix net issue

* fix mov contract issue

* add version number

Co-authored-by: paladz <453256728@qq.com>
7 months agov1.1.2_release (#534) v1.1.2
Poseidon [Thu, 23 Apr 2020 07:53:50 +0000 (15:53 +0800)]
v1.1.2_release (#534)

* v1.1.2_release

* fix pr num

7 months agoadd_btc_asset_white_list (#533)
Poseidon [Thu, 23 Apr 2020 05:59:18 +0000 (13:59 +0800)]
add_btc_asset_white_list (#533)

7 months agobuild(version): change vapord version to 1.1.1 (#532) gov2 v1.1.1
DeKaiju [Fri, 10 Apr 2020 03:11:37 +0000 (11:11 +0800)]
build(version): change vapord version to 1.1.1 (#532)

7 months agoprevent double sign lock (#531)
Paladz [Fri, 3 Apr 2020 15:31:19 +0000 (23:31 +0800)]
prevent double sign lock (#531)

Co-authored-by: paladz <453256728@qq.com>
7 months agofix mov iterator test (#530)
Poseidon [Thu, 2 Apr 2020 12:31:52 +0000 (20:31 +0800)]
fix mov iterator test (#530)

7 months agomodified key alias (#526)
LonelyPale [Thu, 2 Apr 2020 12:24:15 +0000 (07:24 -0500)]
modified key alias (#526)

Co-authored-by: WuYanBing <wyb@LonelyHost.local>
Co-authored-by: Paladz <yzhu101@uottawa.ca>
7 months agoMov late node sync test (#529)
Poseidon [Thu, 2 Apr 2020 11:57:32 +0000 (19:57 +0800)]
Mov late node sync test (#529)

* mov late node sync test

* add new testcase

* bug fix

* bug fix

* fix ci

* bug fix

* fix mov apply block

* opt code for clean mov store

* use iterator replace to iteratorPrefix

7 months agomov late node sync test (#528)
Poseidon [Thu, 2 Apr 2020 09:00:33 +0000 (17:00 +0800)]
mov late node sync test (#528)

* mov late node sync test

* add new testcase

* bug fix

* bug fix

7 months agoSync for late node (#527)
Poseidon [Wed, 1 Apr 2020 12:22:04 +0000 (20:22 +0800)]
Sync for late node (#527)

* sync for late node

* sync for late node

* remove rubbish

* bug fix

* prevent duplicate init chain status

8 months agofix_check_isPartialTrade (#525)
Poseidon [Mon, 30 Mar 2020 10:13:11 +0000 (18:13 +0800)]
fix_check_isPartialTrade (#525)

8 months agoprod config for mov (#524) v1.1.0
Paladz [Thu, 26 Mar 2020 04:22:54 +0000 (12:22 +0800)]
prod config for mov (#524)

* prod config for mov

* add release not

Co-authored-by: paladz <453256728@qq.com>
8 months agofix fee (#523)
Paladz [Thu, 26 Mar 2020 01:49:34 +0000 (09:49 +0800)]
fix fee (#523)

* fix fee

* elegant the code

* handle edge case

* allow 5% fee

* fix typo

* fix typo

* edit back 5% fee

* add for fix

* fix ci

* elegant the code

* god bless us

* fix the overheader

* fix format

Co-authored-by: paladz <453256728@qq.com>
Co-authored-by: shenao78 <shenao.78@163.com>
8 months agofix match engine (#522)
Poseidon [Wed, 25 Mar 2020 10:01:11 +0000 (18:01 +0800)]
fix match engine (#522)

* fix match engine

* opt code

* opt code for add refund

8 months agoFix get reward program (#520)
Poseidon [Mon, 23 Mar 2020 11:39:08 +0000 (19:39 +0800)]
Fix get reward program (#520)

* fix get reward program

* fix get reward program

8 months agoMov (#518)
Paladz [Mon, 23 Mar 2020 03:02:52 +0000 (11:02 +0800)]
Mov (#518)

* 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

* modify parameter name (#411)

* fix bug (#412)

* fix bug

* fix

* fix name

* fix func name

* fix

* Mov database iterator (#415)

* mov_database_iterator

* opt log

* match engine (#418)

* match engine

* opt code

* update comment

* opt code

* fix validate trade pairs

* remove magic num

* opt canNotMatched func

* refactor

* fix travis (#425)

* modify crossin transaction (#416)

* modify crossin transaction

* add test

* fix review

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* 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

* mov core (#421)

* mov core

* bug fix

* opt code

* remove validate contract in validate cancel order

* fix validate

* bug fix

* bug fix

* fix ci

* fix mov database (#427)

* mov joint (#428)

* mov joint

* bug fix

* opt code

* fix ci

* format code

* fix mov (#429)

* add status fail check (#431)

* 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

* merge order from pool (#432)

* merge order from pool

* bug fix order table

* bug fix order table

* bug fix

* rename

* fix order table (#434)

* add mov core test

* add calcMatchedTxFee test

* import order

* fix order table test

* fix match

* opt code

* Check mov store (#437)

* over view code of database/mov_store

* delete the duplicate code

* change the batch read number

* same change while go over the codes (#438)

* same change while go over the codes

* roll back mis edit

* add the comment (#439)

* Modify corssout tx action (#441)

* add program for crossout action

* fix

* fix sync status (#442)

* fix mov dead lock (#443)

* fix mov dead lock

* Delete LOCK

* set proposal have timeout (#444)

* set proposal have timeout

* edit for code review

* fix the roll back dead lock (#446)

* submit tx protocol verify (#447)

* fix request amount zero (#448)

* fix (#449)

* timeout level (#450)

* timeout level

* fix ci

* edit for code review

* edit for code review

* Update testnet config (#451)

* update testnet config

* update testnet param

* rollback federation config

* 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

* fix mov should pay amount (#453)

* fix mov should pay amount

* opt code

* drop the useless tx (#455)

* drop the useless tx

* fix bug

* try to fix network issue (#456)

* try to fix network issue

* try fix bug

* try fix

* init version for edit sign process (#454)

* init version for edit sign process

* eleagent the code

* elegant the code

* try fix bug (#457)

* fix recursive order (#458)

* fix recursive order

* edit logic

* fix the test

* fix mov infinite loop (#461)

* fix mov infinite loop

* validate equals trade pair

* update

* update

* Fix mov issue (#462)

* fix mov infinite loop

* validate equals trade pair

* cycle match

* fix ci

* opt mov validate match tx (#470)

* opt mov validate match tx

* fix validate trade pair

Co-authored-by: Paladz <yzhu101@uottawa.ca>
* fix_open_federation_issue_asset (#478)

* fix_open_federation_issue_asset

* opt code

* complement mov test (#477)

Co-authored-by: Paladz <yzhu101@uottawa.ca>
* fix decimal (#479)

* fix decimal

* fix decimal

* bug fix

* fix decimal

* 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

* fix match collector (#481)

* fix match collector

* add comment

* opt_mathch_collector (#483)

* Opt mathch collector (#482)

* opt_mathch_collector

* opt_mathch_collector

* final code review (#484)

* final code review

* edit for code review

Co-authored-by: Colt-Z <453256728@qq.com>
* Validate matched tx sequence test (#486)

* validate_matched_tx_sequence_test

* validate_matched_tx_sequence_test

* Validate matched tx sequence test (#487)

* validate_matched_tx_sequence_test

* validate_matched_tx_sequence_test

* Supplementary unit tests

* rename

* fix add order bug (#489)

* fix add order bug

* edit for code review

Co-authored-by: Colt-Z <453256728@qq.com>
* 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

* 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>
* fix init mov state (#492)

* fix init mov state

* remove Junk files

* 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

* re design reorganizeChain (#495)

* Rollback pr3 (#496)

* rollback chain

* fix test ci

* delete irrblock judge

* update rollblock

* delete test case

* fix bad delete

* change rollback

* delete one test

* add tip

* change rollback

* fix one err

* remove fmt

* remove one test

* rename

* rename variable

Co-authored-by: Poseidon <shenao.78@163.com>
* fix_add_order_of_order_book (#497)

* fix_add_order_of_order_book

* fix order book

* opt code

Co-authored-by: Paladz <yzhu101@uottawa.ca>
* fix validate tx (#499)

* add_comment_for_bbft (#502)

* fixed reward address (#504)

* match_fee_strategy (#506)

* match_fee_strategy

* rename variable

* opt code

* rename

* adjust order

* add test case

* validate reward address (#505)

* validate reward address

* fix ci

* opt code

* opt code

* opt code

* Match fee strategy (#507)

* match_fee_strategy

* rename variable

* opt code

* rename

* adjust order

* add test case

* bug fix

* bug fix

* add fee for multiple asset tesetcase

* add comment

* charge 1% fee (#509)

* charge 1% fee

* fix weird space

* edit for code review

Co-authored-by: paladz <453256728@qq.com>
* fix_mov_contract_test (#510)

* one_thousandth_fee (#508)

* one_thousandth_fee

* opt code

* update fee

* bug fix

* fix all testcase

* opt mov (#511)

* ban status fail for flash swap (#512)

* ban status fail for flash swap

* set up init check point

Co-authored-by: paladz <453256728@qq.com>
* no tricks (#513)

Co-authored-by: paladz <453256728@qq.com>
* for publish (#515)

* for publish

* fix test

Co-authored-by: paladz <453256728@qq.com>
* small fix (#517)

* small fix

* prevent timeout

* edit for golint

Co-authored-by: paladz <453256728@qq.com>
* Opt is matched (#516)

* opt is matched

* opt is matched

Co-authored-by: Paladz <yzhu101@uottawa.ca>
* rollback (#503)

* rollback

* add

* rollback test

* rollback xiugai

* delete one line

* s

* rename chainData

* reformat it

* opt code

Co-authored-by: shenao78 <shenao.78@163.com>
Co-authored-by: Paladz <yzhu101@uottawa.ca>
* last review (#519)

* last review

* edit for code review

* fix test case

Co-authored-by: paladz <453256728@qq.com>
Co-authored-by: oysheng <33340252+oysheng@users.noreply.github.com>
Co-authored-by: wz <mars@bytom.io>
Co-authored-by: Poseidon <shenao.78@163.com>
Co-authored-by: Chengcheng Zhang <943420582@qq.com>
Co-authored-by: Colt-Z <453256728@qq.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: ipqhjjybj <250657661@qq.com>
11 months agoFix 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>
11 months agofix lru bug (#469)
Poseidon [Tue, 24 Dec 2019 11:52:15 +0000 (19:52 +0800)]
fix lru bug (#469)

* fix lru bug

* remove blanck line

11 months agoMerge pull request #467 from Bytom/fix
Paladz [Fri, 6 Dec 2019 11:57:42 +0000 (19:57 +0800)]
Merge pull request #467 from Bytom/fix

fix rename

11 months agoupdate
Chengcheng Zhang [Fri, 6 Dec 2019 10:48:31 +0000 (18:48 +0800)]
update

11 months agorename (#465)
Chengcheng Zhang [Fri, 6 Dec 2019 09:01:15 +0000 (17:01 +0800)]
rename (#465)

11 months agofix cache (#463)
Chengcheng Zhang [Fri, 6 Dec 2019 07:37:13 +0000 (15:37 +0800)]
fix cache (#463)

* fix cache

* update

11 months agoIssuance length (#460)
HAOYUatHZ [Tue, 3 Dec 2019 01:56:54 +0000 (09:56 +0800)]
Issuance length (#460)

* increase  length

* change to mediumtext

* init

12 months agofix(log): change p2p connection error log level (#445)
DeKaiju [Fri, 22 Nov 2019 05:14:14 +0000 (13:14 +0800)]
fix(log): change p2p connection error log level (#445)

12 months agofix bug for vote & normal output (#433)
Paladz [Fri, 1 Nov 2019 02:35:16 +0000 (10:35 +0800)]
fix bug for vote & normal output (#433)

13 months agoadd release notes (#424) v1.0.4
wz [Thu, 24 Oct 2019 07:05:17 +0000 (15:05 +0800)]
add release notes (#424)

* add release notes

* fix

* fix

13 months agodashboard: update chain transactions (#414)
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.

13 months agoupdate (#423)
Chengcheng Zhang [Thu, 24 Oct 2019 03:05:16 +0000 (11:05 +0800)]
update (#423)

13 months agochange version v1.0.4 (#420)
yahtoo [Wed, 23 Oct 2019 06:13:37 +0000 (14:13 +0800)]
change version v1.0.4 (#420)

13 months agofix log level (#417)
iczc [Tue, 22 Oct 2019 08:27:55 +0000 (16:27 +0800)]
fix log level (#417)

13 months agoSet chain Tx Gas 0 (#409)
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

13 months agoDex database logic implementation (#404)
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

14 months agoSpecify lan discovery service name (#407)
yahtoo [Fri, 27 Sep 2019 07:26:36 +0000 (15:26 +0800)]
Specify lan discovery service name (#407)

14 months agodatabase struct (#401)
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

14 months agofix the regular sync dust block problem (#400) 1.0.3 v1.0.3
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

14 months agofix the bug (#399) v1.0.2
Paladz [Thu, 19 Sep 2019 10:48:12 +0000 (18:48 +0800)]
fix the bug (#399)

* fix the bug

* modify soft point height

* modify

14 months agofix mainchain keeper (#398)
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

14 months agotest case (#397)
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

14 months agouxto view test (#396)
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

14 months agofeat: add node discovery and status check (#374)
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

14 months agoapi add createAccount and createKey (#393)
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

15 months agofix no table (#394)
wz [Fri, 30 Aug 2019 04:15:27 +0000 (12:15 +0800)]
fix no table (#394)

* fix no table

* fix update status

* fix

15 months agov1.0.1 (#392) v1.0.1
yahtoo [Thu, 29 Aug 2019 06:26:41 +0000 (14:26 +0800)]
v1.0.1 (#392)

15 months agofix fast sync skeleton limit error when chain fork (#391)
yahtoo [Thu, 29 Aug 2019 05:31:20 +0000 (13:31 +0800)]
fix fast sync skeleton limit error when chain fork (#391)

15 months agorefactor toolbar/server (#390)
HAOYUatHZ [Wed, 28 Aug 2019 16:51:02 +0000 (00:51 +0800)]
refactor toolbar/server (#390)

* migrate

* rename

15 months agoadd list chains api (#389)
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

15 months agofix log (#388) test_protocol
wz [Tue, 13 Aug 2019 07:42:59 +0000 (15:42 +0800)]
fix log (#388)

15 months agoMerger utxo (#383)
wz [Tue, 13 Aug 2019 07:25:31 +0000 (15:25 +0800)]
Merger utxo (#383)

* add merger utxo

* add chain tx

* delete code

* Function implementation

* modify param

* modify readme

* fix review and fix tet

* fix test

15 months agoAdd vote reward memo (#381)
Paladz [Mon, 12 Aug 2019 06:50:51 +0000 (14:50 +0800)]
Add vote reward memo (#381)

* add vote reward memo

* fix small issue

15 months agoAdd protocol state module test case (#380)
yahtoo [Mon, 12 Aug 2019 05:19:02 +0000 (13:19 +0800)]
Add protocol state module test case (#380)

* Add consensus result test case

* Revert "Add consensus result test case"

This reverts commit e2c1a2332391eb4111e3158127f87d6f5f249d3c.

* Add protocol status test case

15 months agomodify readme (#379)
wz [Sat, 10 Aug 2019 14:46:30 +0000 (22:46 +0800)]
modify readme (#379)

15 months agoPeer add announces new block message num limit (#378)
yahtoo [Mon, 5 Aug 2019 11:46:40 +0000 (19:46 +0800)]
Peer add announces new block message num limit (#378)

15 months agomv dockerfiles (#377)
HAOYUatHZ [Fri, 2 Aug 2019 08:10:16 +0000 (16:10 +0800)]
mv dockerfiles (#377)

15 months agoimprove net sync test cases (#375)
yahtoo [Fri, 2 Aug 2019 06:58:17 +0000 (14:58 +0800)]
improve net sync test cases (#375)

* Add netsync test case

* Add netsync test case

* Opz code format

15 months agoadd log (#373)
wz [Thu, 1 Aug 2019 07:06:00 +0000 (15:06 +0800)]
add log (#373)

* add log

* fix

15 months agofix the bug (#372)
Paladz [Thu, 1 Aug 2019 03:08:49 +0000 (11:08 +0800)]
fix the bug (#372)

16 months agoadd logs (#371)
Paladz [Wed, 31 Jul 2019 12:02:54 +0000 (20:02 +0800)]
add logs (#371)

16 months agomodify readme for voterewatd (#370)
wz [Wed, 31 Jul 2019 08:14:13 +0000 (16:14 +0800)]
modify readme for voterewatd (#370)

* modify readme for voterewatd

* Update README.md

* Update README.md

* Update README.md

16 months agofix dir is not exist (#368)
wyjDoraemon [Tue, 30 Jul 2019 08:27:12 +0000 (16:27 +0800)]
fix dir is not exist (#368)

* fix dir is not exist

* fix

16 months agoadd missing parenthese (#366)
iczc [Tue, 30 Jul 2019 04:01:27 +0000 (12:01 +0800)]
add missing parenthese (#366)

16 months agoadd clear lock file (#364)
wyjDoraemon [Tue, 30 Jul 2019 03:17:38 +0000 (11:17 +0800)]
add clear lock file (#364)

* add clear lock file

* log.Fatal

* fix

* fix1

16 months agonetsync add test case (#365)
yahtoo [Tue, 30 Jul 2019 02:58:00 +0000 (10:58 +0800)]
netsync add test case (#365)

16 months agolog into file (#357)
wyjDoraemon [Mon, 29 Jul 2019 02:21:04 +0000 (10:21 +0800)]
log into file (#357)

* log into file

* fig log

* fix

* fix log into file

* ignore

* vendor lestrrat

* fix grammar

* final

* fix

* fix fix

* fix

16 months agoAdd network delay simulation in test (#359)
yahtoo [Fri, 26 Jul 2019 09:01:29 +0000 (17:01 +0800)]
Add network delay simulation in test (#359)

16 months agochange interval (#360)
iczc [Fri, 26 Jul 2019 08:58:36 +0000 (16:58 +0800)]
change interval (#360)

* change interval

* update

* delete unused

16 months agosend standby node reward (#358)
iczc [Fri, 26 Jul 2019 05:20:56 +0000 (13:20 +0800)]
send standby node reward (#358)

* send standby node reward

* delete unused

* fix error varname

* add sample json

* modify log module name

16 months agoAlternate nodes assign rewards (#356)
wz [Thu, 25 Jul 2019 09:40:23 +0000 (17:40 +0800)]
Alternate nodes assign rewards (#356)

* Alternate nodes assign rewards

* modify logic

* add pick alternative nodes

* remove config

* fix

* fix

* modify test

* restore code

* fix review

* fix review

* fix review

* fix review

* fix unit

* fix review

16 months agoget standby nodes (#355)
iczc [Thu, 25 Jul 2019 06:55:23 +0000 (14:55 +0800)]
get standby nodes (#355)

* get standby nodes

* use address as parameter

16 months agoAdd skeleton size validity check (#354)
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

16 months agofix get consensus node test (#353)
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

16 months agoFix fast sync pending when all request blocks timeout (#347)
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

16 months agoget consensus node test (#352)
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

16 months agovalidateBlock unit test (#346)
oysheng [Wed, 24 Jul 2019 07:31:03 +0000 (15:31 +0800)]
validateBlock unit test (#346)

* modify checkcoinbase

* modify validateBlock

* optimise

16 months agoVoter reward (#344)
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

16 months agoadd get vote result (#345)
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

16 months agoReward util (#342)
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

16 months agoOpz log print (#343)
yahtoo [Tue, 23 Jul 2019 02:29:34 +0000 (10:29 +0800)]
Opz log print (#343)

16 months agofix (#340)
HAOYUatHZ [Sat, 20 Jul 2019 06:14:28 +0000 (14:14 +0800)]
fix (#340)

16 months agomodify initialization parameters (#341)
iczc [Sat, 20 Jul 2019 06:10:27 +0000 (14:10 +0800)]
modify initialization parameters (#341)