OSDN Git Service

bytom/vapor.git
4 years 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

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

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

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

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

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

4 years 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)

4 years agoVoter reward (#286)
wz [Mon, 15 Jul 2019 08:08:57 +0000 (16:08 +0800)]
Voter reward (#286)

* rename dir

* add database

* fix

* fix

4 years agorename dir (#283)
wz [Mon, 15 Jul 2019 07:02:06 +0000 (15:02 +0800)]
rename dir (#283)

4 years agochange the ts (#284)
Paladz [Mon, 15 Jul 2019 06:56:38 +0000 (14:56 +0800)]
change the ts (#284)

4 years agoFix fast sync bug when the chain has fork (#282)
yahtoo [Mon, 15 Jul 2019 05:05:01 +0000 (13:05 +0800)]
Fix fast sync bug when the chain has fork (#282)

* Fix fast sync bug when the chain has fork

* Opz code format

* Fix test file err

4 years agoFix sync orphan block system panic (#281)
yahtoo [Mon, 15 Jul 2019 02:08:17 +0000 (10:08 +0800)]
Fix sync orphan block system panic (#281)

when isOrphan==true&&err==nil system panic

4 years agofix chain keepers (#279)
HAOYUatHZ [Sat, 13 Jul 2019 09:48:16 +0000 (17:48 +0800)]
fix chain keepers (#279)

* fix sidechain_keeper initialization

* fix sql schema

* fix(federation): fix readme

4 years agomark tx before validation so it won't be sent to source again (#278)
apolloww [Sat, 13 Jul 2019 07:10:52 +0000 (15:10 +0800)]
mark tx before validation so it won't be sent to source again (#278)

4 years agorename vapord (#277)
Chengcheng Zhang [Sat, 13 Jul 2019 06:43:57 +0000 (14:43 +0800)]
rename vapord (#277)

4 years agoEdit (#275)
Paladz [Sat, 13 Jul 2019 06:30:27 +0000 (14:30 +0800)]
Edit (#275)

* tmp save

* try to fix tx locate issue

* elegant the code

* elegant the code

* edit for code review

4 years agoupdate init (#276)
Chengcheng Zhang [Sat, 13 Jul 2019 02:56:13 +0000 (10:56 +0800)]
update init (#276)

* update init

* update

* update fatal

4 years agotry to fix ban peer bug (#273)
Paladz [Fri, 12 Jul 2019 13:38:00 +0000 (21:38 +0800)]
try to fix ban peer bug (#273)

4 years agoadd xpub (#272)
Chengcheng Zhang [Fri, 12 Jul 2019 10:30:47 +0000 (18:30 +0800)]
add xpub (#272)

* update

* update

* update

4 years agomodify tip (#271)
oysheng [Fri, 12 Jul 2019 09:06:20 +0000 (17:06 +0800)]
modify tip (#271)

4 years agoFix xpub copy error (#270)
yahtoo [Fri, 12 Jul 2019 08:56:31 +0000 (16:56 +0800)]
Fix xpub copy error (#270)

4 years agomodify params (#269)
oysheng [Fri, 12 Jul 2019 07:40:47 +0000 (15:40 +0800)]
modify params (#269)

* modify params

* optimise

4 years agomodify config (#265)
oysheng [Fri, 12 Jul 2019 07:11:51 +0000 (15:11 +0800)]
modify config (#265)

* modify config

* modify bytom mainnet

4 years agoupdate dashboard (#268)
Zhiting Lin [Fri, 12 Jul 2019 07:05:30 +0000 (15:05 +0800)]
update dashboard (#268)

4 years agoFix BlockSignatureMsg unbroadcast problem (#267)
yahtoo [Fri, 12 Jul 2019 07:04:56 +0000 (15:04 +0800)]
Fix BlockSignatureMsg unbroadcast problem (#267)

* Fix BlockSignatureMsg unbroadcast problem

* Fix review bug

4 years agoupdate dashboard (#266)
Zhiting Lin [Fri, 12 Jul 2019 06:44:21 +0000 (14:44 +0800)]
update dashboard (#266)

4 years agofix bug (#264)
Chengcheng Zhang [Fri, 12 Jul 2019 03:02:33 +0000 (11:02 +0800)]
fix bug (#264)

* fix bug

* update

4 years agofix bug (#260)
wz [Thu, 11 Jul 2019 10:28:10 +0000 (18:28 +0800)]
fix  bug (#260)

* fix  bug

* fix bug

4 years agomodify timestamp (#262)
oysheng [Thu, 11 Jul 2019 10:26:55 +0000 (18:26 +0800)]
modify timestamp (#262)

4 years agomodify sort for coinbase reward (#261)
oysheng [Thu, 11 Jul 2019 09:03:17 +0000 (17:03 +0800)]
modify sort for coinbase reward (#261)

4 years agoupdate log (#259)
Chengcheng Zhang [Thu, 11 Jul 2019 08:51:09 +0000 (16:51 +0800)]
update log (#259)

* update log

* update

4 years agoDel signature from cache when added to the block (#258)
yahtoo [Thu, 11 Jul 2019 06:39:21 +0000 (14:39 +0800)]
Del signature from cache when added to the block (#258)

4 years agoadd parallel fast sync support (#238)
yahtoo [Thu, 11 Jul 2019 06:04:09 +0000 (14:04 +0800)]
add parallel fast sync support (#238)

* Add parallel require blocks

* Add fast sync block storage and process

* add fetch blocks timeout process

* Fix oops bug

* add timeoutQueue func

* Fix review bug

* Opz code format

* modify parallelFetchHeaders function

* modify select sync peer logic

* Del unused code

* add blocksTasks struct

* Modify block parallel download mode

* Opz code format

* Fix test case error

* opz code format

* Add fast sync peer err handle

* Fix test case err

* Fix review bugs

* Fix review bugs

* Fix review bugs

* Add test file

* Fix review bug

* Fix fetch headers stopHeader lost err

* Fix locate headers bug

* Opz code format

* Fix review bug

4 years agoWallet store interface (#217)
Chengcheng Zhang [Thu, 11 Jul 2019 06:02:58 +0000 (14:02 +0800)]
Wallet store interface (#217)

* update

* sort wallet store functions

* update

* update

* update

* remove DeleteAccountByAlias

* remove DeleteAccountUTXOs

* update

* update

* update

* remove deleteAccountControlPrograms

* remove DeleteBip44ContractIndex DeleteContractIndex DeleteControlProgram

* rename GetAccountByID to GetAccount

* update GetAsset

* move TestReserve to account

* move TestReserveParticular to account

* move TestFindUtxos to account

* update

* delete utxo_keeper_test

* update

* update

* move TestReserveBtmUtxoChain to account

* update

* update

* update

* remove mock/UTXO.go

* update ListTransactions

* update

* update

* update AccountStorer

* update SetAccountIndex

* update

* update

* update

* update DeleteAccountUTXOs

* update DeleteAccount

* update

* update ListUTXOs

* update

* update

* update getAccountFromACP

* update Restore

* update Restore

* update Restore

* update

* update

* update GetCoinbaseCtrlProgram

* update Create

* update Create

* update SaveAccount

* update UpdateAccountAlias

* update SetAccountIndex

* update FindByAlias

* update WalletStore

* update

* remove GetAccount

* update

* udpate

* update

* add SetStandardUTXO

* remove SetStandardUTXO in walletstore

* update

* remove DeleteStandardUTXO

* update

* update

* update

* update

* update

* add mockAccountStore in wallet_test

* update CalcGlobalTxIndex in wallet_test

* add mockWalletStore in wallet_test

* update TestWalletVersion

* move TestEncodeDecodeGlobalTxIndex

* add test/wallet_test.go

* update

* update

* update TestXPubsRecoveryLock

* update

* update TestExtendScanAddresses

* update TestRecoveryFromXPubs

* add mock wallet store

* update

* add mock account store

* update TestRecoveryByRescanAccount

* update

* update recovery_test.go

* update TestWalletUnconfirmedTxs

* update TestGetAccountUtxos

* update

* update

* update

* update

* update

* update

* update id

* update

* update

* update

* update

* update TestGetAccountUtxos

* update

* update

* update

* update

* update

* update

* update

* update

* update

* add MockAccountStore

* remove mock

* remove mock

* update

* remove test mock

* comment some test functions

* update SetWalletInfo

* update

* update

* update loadWalletInfo

* update

* update

* rename RecoveryState

* update

* update commitStatusInfo

* update

* update

* update

* remove recoveryKey

* update

* update

* update

* rename calcGlobalTxIndexKey to CalcGlobalTxIndexKey

* update

* update

* update TestWalletUpdate

* remove comments

* update wallet_test

* update LoadWalletInfo

* rename w.status

* update TestRescanWallet

* add TestMemPoolTxQueryLoop

* update TestMemPoolTxQueryLoop

* update

* update

* fix TestFilterAccountUtxo

* update

* update

* refine code

* remove TestRescanWallet

* add account store

* comment test

* update TestFilterAccountUtxo

* fix w.AccountMgr.GetControlProgram

* remove GetControlProgram

* remove comment

* update

* update

* update

* update

* rename accountDB to db

* rename walletDB to db

* update

* update

* update

* update

* update

* update

* update

* update

* update deleteAccountUTXOs

* update

* add deleteAccountControlPrograms

* update ListAccountUTXOs

* update GetAccountByProgram

* update

* update

* update

* update

* update

* rm key

* update utxo_keeper

* update DeleteTransactions

* update Bip44ContractIndexKey

* update dbm

* update TestFilterAccountUtxo

* update

* add accountstore

* update TestFilterAccountUtxo

* updata TestFilterAccountUtxo

* move db account store prefix

* move db wallet store prefix

* add InitStore

* update

* rename CommitStore

* add InitStore

* rename CommitStore

* fix bug

* update

* update

* update

* update

* update

* update

* update

* update

* move accountAliasKey

* update

* rename InitStore to InitBatch

* rename CommitStore to CommitBatch

* update

* update

* update

* update

* update

* update

* update

* fix TestWalletUpdate

* fix bugs

* remove loop

* fix bug

* update

* update

* update Restore

* update Restore

* update saveExternalAssetDefinition

* move ErrAccntTxIDNotFound

* update GetCoinbaseCtrlProgram

* update getExternalDefinition

4 years agomodify general config (#257)
oysheng [Thu, 11 Jul 2019 06:01:59 +0000 (14:01 +0800)]
modify general config (#257)

* modify general config

* move code

* modify

* optimise

4 years agofix ban node failed (#256)
yahtoo [Wed, 10 Jul 2019 12:02:17 +0000 (20:02 +0800)]
fix ban node failed (#256)

4 years agoedit code while reviewing the code (#255)
Paladz [Wed, 10 Jul 2019 07:48:10 +0000 (15:48 +0800)]
edit code while reviewing the code (#255)

* edit code while reviewing the code

* change the if err statement

* clean the db part code

* delete the unused reqid code

4 years agorestore Tx back to Tx pool when chain is reorganized (#254)
apolloww [Tue, 9 Jul 2019 06:24:57 +0000 (14:24 +0800)]
restore Tx back to Tx pool when chain is reorganized (#254)

* restore Tx back to Tx pool when chain is reorganized

* print log if restoring tx fails

4 years agoedit code while reviw (#253)
Paladz [Tue, 9 Jul 2019 02:20:55 +0000 (10:20 +0800)]
edit code while reviw (#253)

* edit code while reviw

* edit the code format

4 years agomodify timestamp (#252)
oysheng [Mon, 8 Jul 2019 08:14:37 +0000 (16:14 +0800)]
modify timestamp (#252)

4 years agofix bug (#251)
wz [Mon, 8 Jul 2019 08:00:16 +0000 (16:00 +0800)]
fix bug (#251)

4 years agorefactor: change asset.Definition encoding (#250)
HAOYUatHZ [Mon, 8 Jul 2019 07:11:37 +0000 (15:11 +0800)]
refactor: change asset.Definition encoding (#250)

4 years agomodify seed (#249)
oysheng [Mon, 8 Jul 2019 06:47:41 +0000 (14:47 +0800)]
modify seed (#249)

4 years agofilter change output (#248)
HAOYUatHZ [Mon, 8 Jul 2019 06:44:31 +0000 (14:44 +0800)]
filter change output (#248)

4 years agokeep last irreversible block on the main chain (#245)
apolloww [Mon, 8 Jul 2019 05:42:55 +0000 (13:42 +0800)]
keep last irreversible block on the main chain (#245)

* keep last irreversible block on the main chain

Only update the LIB pointer when newly irreversible block is on the main
chain. Emit warning otherwise.

* save updated block header

4 years agoadd unit test and modify file name (#247)
oysheng [Mon, 8 Jul 2019 03:12:56 +0000 (11:12 +0800)]
add unit test and modify file name (#247)

* add unit test

* modify file name

4 years agoSmall edit (#246)
Paladz [Mon, 8 Jul 2019 02:54:24 +0000 (10:54 +0800)]
Small edit (#246)

* replace the useless id generate

* remove unused code

4 years agoaggregate coinbase rewards (#239)
oysheng [Sat, 6 Jul 2019 07:41:01 +0000 (15:41 +0800)]
aggregate coinbase rewards (#239)

* modify struct to consensusResult

* rename file name

* extract common funtion

* modify name

* modify coinbase tx

* optimise

* aggregate amount for same program

* fix coinbase calculate

* delete â„¹rrelevant test code

* modify get asset

* modify

* modify variable name

* optimise detachBlock for consensusResult

* optimise

* optimise

* restruct

* modify test

* filter zero amount output

* filter zero amount for protocol

* modify name

* move

* rename

* modify unit test

* add test

* optimise

* optimise code

* optimise

* move calculate txfee

* optimise code

* optimise

* restruct

* optimise

* optimise

* modify calculate tx fee

* optimise

* optimise

* optimise

* optimise

* optimise

* optimise

4 years agoadd compression (#240)
wz [Sat, 6 Jul 2019 07:07:43 +0000 (15:07 +0800)]
add compression (#240)

* add compression

* fix review

* remove code

* fix

4 years agoupdate dashboard with account option. (#243)
Zhiting Lin [Fri, 5 Jul 2019 06:53:31 +0000 (14:53 +0800)]
update dashboard with account option. (#243)

4 years agofix(bc): fix TxInput.SpentOutputID() (#242)
HAOYUatHZ [Fri, 5 Jul 2019 03:03:30 +0000 (11:03 +0800)]
fix(bc): fix TxInput.SpentOutputID()  (#242)

* fix input.SpentOutputID

* refine code

4 years agoSmall edit (#241)
Paladz [Thu, 4 Jul 2019 05:44:32 +0000 (13:44 +0800)]
Small edit (#241)

* check the accesstoken folder

* remove unused testutil/expect.go

* remove testutil/parameter.go

* small changes

* hash without vaule

* remove the duplicate value in crosschain input

* delete unused file

4 years agoTx validate mining (#237) distribution_rewards
wz [Tue, 2 Jul 2019 11:53:58 +0000 (19:53 +0800)]
Tx validate mining (#237)

* add func

* tx validate for minging

* fix review

4 years agofix paging (#235)
wz [Tue, 2 Jul 2019 08:29:30 +0000 (16:29 +0800)]
fix paging (#235)

* fix paging

* fix test

* fix

4 years agoPaging (#234) paging_utxo
wz [Mon, 1 Jul 2019 07:52:48 +0000 (15:52 +0800)]
Paging (#234)

* add paging

* fix review

* fix review

* remove space

* fix review

* add AccountAlias

* fix test

4 years agorefatcor(feaderation): use P2WSHProgram for federation program on sidechain (#233)
HAOYUatHZ [Sat, 29 Jun 2019 01:44:12 +0000 (09:44 +0800)]
refatcor(feaderation): use P2WSHProgram for federation program on sidechain (#233)

* fix

* rename

* fix

4 years agoupdate dashboard (#232) v0.2.0
Zhiting Lin [Fri, 28 Jun 2019 06:21:12 +0000 (14:21 +0800)]
update dashboard (#232)

4 years agofix array out of index range (#231)
oysheng [Fri, 28 Jun 2019 04:29:05 +0000 (12:29 +0800)]
fix array out of index range (#231)

4 years agofix lru issue (#230)
Paladz [Thu, 27 Jun 2019 12:32:56 +0000 (20:32 +0800)]
fix lru issue (#230)

4 years agofix asset foreign key (#229)
HAOYUatHZ [Thu, 27 Jun 2019 08:16:59 +0000 (16:16 +0800)]
fix asset foreign key (#229)

4 years agoUpdate README.md
langyu [Thu, 27 Jun 2019 08:09:26 +0000 (16:09 +0800)]
Update README.md

Add default data path

4 years agofeat(federation): add /get-fed-info api (#228)
HAOYUatHZ [Thu, 27 Jun 2019 07:59:31 +0000 (15:59 +0800)]
feat(federation): add /get-fed-info api  (#228)

* fix

* add default port

* init getFedInfo

* init FedInfo struct

* clean up

* draft fed info

* clean up

* cealn

* cealn

* fix

4 years agomodify seed and timestamp (#227)
oysheng [Thu, 27 Jun 2019 02:13:16 +0000 (10:13 +0800)]
modify seed and timestamp (#227)

4 years agospeed up valiate tx (#226)
Paladz [Wed, 26 Jun 2019 12:46:51 +0000 (20:46 +0800)]
speed up valiate tx (#226)

4 years agoadd address filter (#225)
HAOYUatHZ [Wed, 26 Jun 2019 11:04:33 +0000 (19:04 +0800)]
add address filter (#225)

4 years agofeat(federation): add address in /list-txs (#224)
HAOYUatHZ [Wed, 26 Jun 2019 10:19:15 +0000 (18:19 +0800)]
feat(federation): add address in /list-txs (#224)

* add addresses

* add add add

* main listener address

* sidechain listener address

* update docs

4 years agofeat(federation): add address and timestamp (#223)
HAOYUatHZ [Wed, 26 Jun 2019 08:26:17 +0000 (16:26 +0800)]
feat(federation): add address and timestamp (#223)

* update req & resp

* init timestamp

* fix timestamp

* fix

* add asset

* init from_address to_address

4 years agodoc(federation): add /list-crosschain-txs docs (#222)
HAOYUatHZ [Wed, 26 Jun 2019 06:57:31 +0000 (14:57 +0800)]
doc(federation): add /list-crosschain-txs docs (#222)

* init

* add fed list-txs doc

* update

* refactor reponse

* update docs

4 years agorefactor(federation): change filter in list-txs (#221)
HAOYUatHZ [Wed, 26 Jun 2019 02:03:21 +0000 (10:03 +0800)]
refactor(federation): change filter in list-txs (#221)

4 years ago get BlockNode from database (#188)
oysheng [Tue, 25 Jun 2019 11:58:37 +0000 (19:58 +0800)]
 get BlockNode from database (#188)

* modify BlockNode to database

* modify newBlockNode

* optimise LoadBlockIndex

* optimise hash

* restruct blockIndex

* delete redundancy function

* remove blockIndex BlockExist function and add Remove cached blockNode

* modify function name

* modify blockwitness index

* optimise

* optimise chain best node

* modify dir

* optimise

* delete blockindex

* optimise style

* remove argument

* modify name

* modify get blockwitness func

* add getBestNode

* optimise blockHashes

* remove BlockNode

* optimise struct

* optimise

* optimise protocol

* optimise saveChainStatus

* optimise

* optimise

* remove consensusNodeManager

* modify node to blockheader

* modify node name

* remove redundancy getBlocker

* modify node to blockHeader

* add lock

* add deep copy

* fix

* modify function name

* modify order

* optimise init getBlockHashes

* optimise

* modify database test

* fix validation test

* fix txpool test

* fix utxo_view test

* delete protocol block test

* optimise name and position

* optimise

* delete cond

* modify Name

* abstract common function

* optimise

* add unit test

* optimise unit test

* delete code

* save main chain hash by height

* save main chain hashes

* fix error

* optimise

* optimise

* optimsie

* optimise

* optimise

4 years agofeat(warder): add warder backbone (#181)
HAOYUatHZ [Tue, 25 Jun 2019 11:50:41 +0000 (19:50 +0800)]
feat(warder): add warder backbone (#181)

* init warder

* init

* add

* gogogo

* add

* dododo

* gogogo

* add validateTx

* add

* build tx

* update

* check

* dododod

* fk

aaaaaaaaaa

* update check

* add colect_minutes

* fix

* init collect

* what can i say

* find

* find

* update

* ???

* zhen xiang

* clean

* fix

* dodo

* clean

* update

* fix

* fix typo

* clean

* update

* add service.Warder

* hostPort

* path

* fix

* dododo

* add add add

* add

* add

* update

* add

* update

* update

* update

* fix https://github.com/Bytom/vapor/pull/181#discussion_r294070592

* fix https://github.com/Bytom/vapor/pull/181#discussion_r294070868

* remove blank line

* fix logic for https://github.com/Bytom/vapor/pull/181#discussion_r294070592

* xpr

* dododo

* decode fedprog

* add todos

* sort

* sep

* checked

* temp

* clean

* ???

* rename

* clean

* add time_range

* pause

* pause again

* can compile

* do

* use https://github.com/Bytom/vapor/pull/181#pullrequestreview-250219072 3

* add input

* parse

* add fedProg

* add

* fix

* di

* clean

* fix

* clean

* add todo

* what can i sat

* clean

* combine

* fix

* renew

* add type SigningInstruction

* comment out useless

* revert

* rename to assetStore

* update

* dododo

* fj

* add output

* type

* init

* update

* emm

* dododo

* update

* clean up

* addInputWitness

* init

* fix sidechainKeeper.getCrossChainReqs()

* opt

* opt

* rename

* clean

* clean

* fix

* add

* fix

* clean

* renew

* merge

* clean

* fix https://github.com/Bytom/vapor/pull/181#discussion_r295148126

* add todo

* rename

* rename GetByAssetID

* fmtKey

* fix cache query

* clean

* fix no valid transaction

* fix

* rename

* fix

* fix

* revert

* clean

* fix

* fix

* fix collect

* clean

* add tryProcess

* pause

* init

* draft

* fix

* draft

* more

* sign

* rearrange

* clean

* clean

* what can i say

* redesign

* fix getSignData

* fix getSigns

* init finalizeTx

* add labels

* add  getInputsCnt

* ???

* clean

* wtf

* good

* clean

* clean

* clean

* good

* fix

* clean

* clean

* miao

* update

* clean

* init api.NewServer

* init

* minor

* comment out synchron first

* rename

* init

* add venfor

* clean up

* add listener

* add middleware

* add

* init handlerMiddleware

* add

* fix typo

* update

* update

* clean

* update

* clean

* updare

* add

* add todos

* add

* do

* update

* add

* update

* update

* clean up

* clean

* clean

* temp clean

* clean up

* clean

* clean

* clean

* clean up

* clean

* clean

* fix

* clean

* combine

* clean

* add github.com/mattn/go-isatty

* add github.com/ugorji/go/codec

* add gopkg.in/go-playground/validator.v8

* clean

* temp

* clean

* init

* init

* add minor

* add json

* ???

* temp

* clean

* fix json

* fix json

* clean

* add

* add

* add

* add

* clean

* clean

* clean

* move

* fix https://github.com/Bytom/vapor/pull/181#discussion_r297058765

* fix

4 years agoadd fast sync func (#204)
yahtoo [Tue, 25 Jun 2019 10:30:38 +0000 (18:30 +0800)]
add fast sync func (#204)

* Modify fast sync function

* Fix GetHeadersMessage error

* Fix skeleton init error

* Fix fetchHeaders error

* Add fetch date finish check

* Fix FetchBodiesTask error

* Fix fetchBodies bug

* Add multi-peer fetch support

* Fix requireHeaders bug

* add lit fast sync func

* Fix fetchBlocks bug

* opz code format

* del test file

* opz code

* Add test case

* change to singe peer fast sync

* Fix bug

* Add peer exception handle

* del unused code

* Add test case

* Fix review bug

* Fix locate headers error

* Fix test file error

* Add irreversible block fast sync

* Fix test err

* Fix review bug

4 years agofix dockerfile (#220)
Chengcheng Zhang [Mon, 24 Jun 2019 06:50:09 +0000 (14:50 +0800)]
fix dockerfile (#220)

4 years agoadd error code for veto (#219)
wz [Mon, 24 Jun 2019 06:43:32 +0000 (14:43 +0800)]
add error code for veto (#219)

* add error code

* fix

4 years agomock crosschain tx (#218)
Paladz [Mon, 24 Jun 2019 05:59:19 +0000 (13:59 +0800)]
mock crosschain tx (#218)

4 years agovapord docker: add missing options to deploy script (#216) coinbase_reward
apolloww [Fri, 21 Jun 2019 04:36:18 +0000 (12:36 +0800)]
vapord docker: add missing options to deploy script (#216)

4 years agodockerize vapord (#214) fix_lru_vote
apolloww [Thu, 20 Jun 2019 12:08:57 +0000 (20:08 +0800)]
dockerize vapord (#214)

4 years agoTest crossin (#213) test_vote
wz [Thu, 20 Jun 2019 08:48:58 +0000 (16:48 +0800)]
Test crossin (#213)

* fix crossin

* fix review

4 years agoMerge pull request #212 from Bytom/Makefile
Paladz [Thu, 20 Jun 2019 07:21:05 +0000 (15:21 +0800)]
Merge pull request #212 from Bytom/Makefile

Change Makefile and directory for vapor

4 years agoupdate readme
Chengcheng Zhang [Thu, 20 Jun 2019 07:12:32 +0000 (15:12 +0800)]
update readme

4 years agoupdate from master Makefile
Chengcheng Zhang [Thu, 20 Jun 2019 07:08:12 +0000 (15:08 +0800)]
update from master

4 years agoMerge branch 'master' into Makefile
Chengcheng Zhang [Thu, 20 Jun 2019 07:06:51 +0000 (15:06 +0800)]
Merge branch 'master' into Makefile

4 years agoChange Makefile and directory for vapor
Yahtoo Ma [Thu, 20 Jun 2019 06:46:35 +0000 (14:46 +0800)]
Change Makefile and directory for vapor

4 years agoMerge pull request #209 from Bytom/readme
Paladz [Thu, 20 Jun 2019 06:27:43 +0000 (14:27 +0800)]
Merge pull request #209 from Bytom/readme

update readme

4 years agoupdate
Chengcheng Zhang [Thu, 20 Jun 2019 06:25:30 +0000 (14:25 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Thu, 20 Jun 2019 06:22:49 +0000 (14:22 +0800)]
update

4 years agoupdate readme
Chengcheng Zhang [Thu, 20 Jun 2019 06:13:28 +0000 (14:13 +0800)]
update readme

4 years agoMerge pull request #208 from Bytom/dashboard
Paladz [Thu, 20 Jun 2019 03:54:28 +0000 (11:54 +0800)]
Merge pull request #208 from Bytom/dashboard

update dashboard

4 years agoMerge branch 'master' into dashboard
Paladz [Thu, 20 Jun 2019 03:54:10 +0000 (11:54 +0800)]
Merge branch 'master' into dashboard

4 years agoupdate dashboard
Zhiting Lin [Thu, 20 Jun 2019 03:52:32 +0000 (11:52 +0800)]
update dashboard

4 years agoMerge pull request #207 from Bytom/edit_log
Paladz [Thu, 20 Jun 2019 03:49:41 +0000 (11:49 +0800)]
Merge pull request #207 from Bytom/edit_log

edit the log

4 years agoedit the log
paladz [Thu, 20 Jun 2019 03:44:09 +0000 (11:44 +0800)]
edit the log

4 years agoMerge pull request #206 from Bytom/add_seed
Paladz [Thu, 20 Jun 2019 03:33:02 +0000 (11:33 +0800)]
Merge pull request #206 from Bytom/add_seed

add_seed

4 years agoadd_seed
paladz [Thu, 20 Jun 2019 03:32:14 +0000 (11:32 +0800)]
add_seed

4 years agoMerge pull request #205 from Bytom/v0.1_fix_bug
Paladz [Thu, 20 Jun 2019 03:20:25 +0000 (11:20 +0800)]
Merge pull request #205 from Bytom/v0.1_fix_bug

fix  bug

4 years agoMerge branch 'master' into v0.1_fix_bug
wz [Thu, 20 Jun 2019 03:19:27 +0000 (11:19 +0800)]
Merge branch 'master' into v0.1_fix_bug

4 years agofix bug
mars [Thu, 20 Jun 2019 03:17:10 +0000 (11:17 +0800)]
fix  bug

4 years agoMerge pull request #201 from Bytom/v0.1
Paladz [Thu, 20 Jun 2019 03:17:07 +0000 (11:17 +0800)]
Merge pull request #201 from Bytom/v0.1

V0.1

4 years agoedit config (#200) v0.1 v0.1.0
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

4 years agoV0.1 docs crosschain (#199) v0.1_fix_bug
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