OSDN Git Service

bytom/vapor.git
11 hours agofix log level (#417) master
iczc [Tue, 22 Oct 2019 08:27:55 +0000 (16:27 +0800)]
fix log level (#417)

7 days 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

12 days 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

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

3 weeks 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

4 weeks 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

4 weeks 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

5 weeks 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

6 weeks 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

6 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

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

7 weeks 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)

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

* migrate

* rename

2 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

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

2 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

2 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

2 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

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

2 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)

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

2 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

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

* add log

* fix

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

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

2 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

2 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

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

2 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

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

2 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

2 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)

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

* change interval

* update

* delete unused

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

3 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

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

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

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

3 months agoadd fedd dockerfile (#339)
HAOYUatHZ [Sat, 20 Jul 2019 05:49:09 +0000 (13:49 +0800)]
add fedd dockerfile (#339)

3 months agotxpool: periodically sweep pool for stale Txs (#337) v1.0.0
apolloww [Sat, 20 Jul 2019 02:58:14 +0000 (10:58 +0800)]
txpool: periodically sweep pool for stale Txs (#337)

3 months agoModify Dockerfile expose ports (#338)
yahtoo [Sat, 20 Jul 2019 02:50:11 +0000 (10:50 +0800)]
Modify Dockerfile expose ports (#338)

3 months agov1.0.0 stable (#336)
yahtoo [Sat, 20 Jul 2019 01:52:07 +0000 (09:52 +0800)]
v1.0.0 stable (#336)

3 months agoWallet store test (#326)
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

3 months agofix chain_id in sql_dump (#334)
HAOYUatHZ [Fri, 19 Jul 2019 14:33:37 +0000 (22:33 +0800)]
fix chain_id in sql_dump (#334)

3 months agodelete the key index (#335)
Paladz [Fri, 19 Jul 2019 14:32:50 +0000 (22:32 +0800)]
delete the key index (#335)

3 months agoupdate (#333)
HAOYUatHZ [Fri, 19 Jul 2019 14:16:31 +0000 (22:16 +0800)]
update (#333)

3 months agoupdate db dump (#332) dump
HAOYUatHZ [Fri, 19 Jul 2019 12:01:03 +0000 (20:01 +0800)]
update db dump (#332)

3 months agomodify consensusResult for block (#324)
oysheng [Fri, 19 Jul 2019 10:13:53 +0000 (18:13 +0800)]
modify consensusResult for block (#324)

* modify consensusResult for block

* delete

* optimise

3 months agoupdate fedProg (#330)
HAOYUatHZ [Fri, 19 Jul 2019 10:12:37 +0000 (18:12 +0800)]
update fedProg (#330)

3 months agofix bug (#331)
wz [Fri, 19 Jul 2019 10:11:36 +0000 (18:11 +0800)]
fix bug (#331)

3 months agoadd mainnet seeds (#329)
HAOYUatHZ [Fri, 19 Jul 2019 08:32:19 +0000 (16:32 +0800)]
add mainnet seeds (#329)

3 months agofix fed membership order (#328)
HAOYUatHZ [Fri, 19 Jul 2019 08:26:26 +0000 (16:26 +0800)]
fix fed membership order (#328)

3 months agovapor v1.0 genesis consensus (#327)
HAOYUatHZ [Fri, 19 Jul 2019 08:05:42 +0000 (16:05 +0800)]
vapor v1.0 genesis consensus (#327)

3 months agoupdate dashboard. (#325)
Zhiting Lin [Fri, 19 Jul 2019 06:16:13 +0000 (14:16 +0800)]
update dashboard. (#325)

3 months agodelete the unused (#323)
Paladz [Fri, 19 Jul 2019 02:51:29 +0000 (10:51 +0800)]
delete the unused (#323)

3 months agoWallet store test (#312)
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

3 months agoupdate dashboard (#321)
Zhiting Lin [Thu, 18 Jul 2019 11:47:53 +0000 (19:47 +0800)]
update dashboard (#321)

3 months agoupdate GetNodeInfo (#317)
Chengcheng Zhang [Thu, 18 Jul 2019 11:21:11 +0000 (19:21 +0800)]
update GetNodeInfo (#317)

* update GetNodeInfo

* update

* update

* update

3 months agoedit the config (#320)
Paladz [Thu, 18 Jul 2019 11:18:45 +0000 (19:18 +0800)]
edit the config (#320)

3 months agomodify testnet parameters (#319)
oysheng [Thu, 18 Jul 2019 10:17:45 +0000 (18:17 +0800)]
modify testnet parameters (#319)

3 months agofix the lock bug (#316)
Paladz [Thu, 18 Jul 2019 08:16:44 +0000 (16:16 +0800)]
fix the lock bug (#316)

3 months agoupdate dashboard. (#315)
Zhiting Lin [Thu, 18 Jul 2019 08:11:28 +0000 (16:11 +0800)]
update dashboard. (#315)

3 months agoRevert "Fix BlockWaiter dead lock (#311)" (#314)
yahtoo [Thu, 18 Jul 2019 07:44:09 +0000 (15:44 +0800)]
Revert "Fix BlockWaiter dead lock (#311)" (#314)

This reverts commit 101539186ad6a4422b703abf5f8739f26c7a21f3.

3 months agoupdate dashboard (#313)
Zhiting Lin [Thu, 18 Jul 2019 07:36:00 +0000 (15:36 +0800)]
update dashboard (#313)

3 months agoFix BlockWaiter dead lock (#311)
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

3 months agochange the config for prod (#310)
Paladz [Thu, 18 Jul 2019 06:51:22 +0000 (14:51 +0800)]
change the config for prod (#310)

3 months agoupdate dashboard (#309) v0.3.0
Zhiting Lin [Thu, 18 Jul 2019 02:56:01 +0000 (10:56 +0800)]
update dashboard (#309)

3 months agofix netParams for fedd (#307)
HAOYUatHZ [Wed, 17 Jul 2019 12:45:31 +0000 (20:45 +0800)]
fix netParams for fedd (#307)

* fix network

* update doc

3 months agofix config & update mysql dump (#306)
HAOYUatHZ [Wed, 17 Jul 2019 09:23:01 +0000 (17:23 +0800)]
fix config & update mysql dump (#306)

3 months agoupdate dashboard. (#305)
Zhiting Lin [Wed, 17 Jul 2019 08:49:54 +0000 (16:49 +0800)]
update dashboard. (#305)

3 months agomodify estimate gas (#304)
oysheng [Wed, 17 Jul 2019 08:35:32 +0000 (16:35 +0800)]
modify estimate gas (#304)

* modify estimate gas

* unit test

3 months agoAccount store test (#303)
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

3 months agomodify config (#302)
oysheng [Wed, 17 Jul 2019 06:28:16 +0000 (14:28 +0800)]
modify config (#302)

3 months agodelete first tx vote amount restrict (#301)
oysheng [Wed, 17 Jul 2019 06:01:16 +0000 (14:01 +0800)]
delete first tx vote amount restrict (#301)

3 months agoconsensus should be able to change (#300)
Paladz [Wed, 17 Jul 2019 03:48:12 +0000 (11:48 +0800)]
consensus should be able to change (#300)

3 months agoadd free gas (#295)
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

3 months agoupdate dashboard (#299)
Zhiting Lin [Wed, 17 Jul 2019 03:04:52 +0000 (11:04 +0800)]
update dashboard (#299)

3 months agofix bug (#297)
Paladz [Wed, 17 Jul 2019 01:48:57 +0000 (09:48 +0800)]
fix bug (#297)

3 months agomodify utxo pending number and consensus node vote restrict (#285)
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

3 months agoAccount store test (#296)
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

3 months agoPrevent resending of received BlockSignatureMsg (#294)
yahtoo [Tue, 16 Jul 2019 10:38:50 +0000 (18:38 +0800)]
Prevent resending of received BlockSignatureMsg (#294)

3 months agosync vote info for reward (#292)
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

3 months agoDel BlockSignatureMsg unused Height field (#293)
yahtoo [Tue, 16 Jul 2019 06:34:11 +0000 (14:34 +0800)]
Del BlockSignatureMsg unused Height field (#293)

3 months agofix: use fedConsensusPath to derive for consensus federationNodes (#290)
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

3 months agorefactor: use derived xpubs for federation (#289) node_path
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

3 months agoTest save block (#288)
Chengcheng Zhang [Mon, 15 Jul 2019 11:49:48 +0000 (19:49 +0800)]
Test save block (#288)

* add TestSaveBlock

* TestSaveBlockHeader

* update

3 months agofilter out known txs (#280)
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

3 months agoAdd a regular sync maximum block limit (#287)
yahtoo [Mon, 15 Jul 2019 08:10:01 +0000 (16:10 +0800)]
Add a regular sync maximum block limit (#287)