OSDN Git Service

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

4 years agoCancel contract of btm inspection (#198)
wz [Thu, 20 Jun 2019 02:28:31 +0000 (10:28 +0800)]
Cancel  contract of btm inspection (#198)

* Cancel  contract of btm inspection

* fix test

4 years agomodify utxi limit (#197)
wz [Thu, 20 Jun 2019 01:45:12 +0000 (09:45 +0800)]
modify utxi limit (#197)

4 years agofix the orphan issue (#193)
Paladz [Wed, 19 Jun 2019 12:39:48 +0000 (20:39 +0800)]
fix the orphan issue (#193)

* fix the orphan issue

* add unit test

4 years agoupdate dashboard. (#192)
Zhiting Lin [Wed, 19 Jun 2019 05:56:23 +0000 (13:56 +0800)]
update dashboard. (#192)

4 years agorename unvote to veto (#191)
wz [Wed, 19 Jun 2019 05:40:32 +0000 (13:40 +0800)]
rename unvote to veto (#191)

4 years agofix(cross_chain): add asset_id check in cross_chain_in request (#177)
HAOYUatHZ [Wed, 19 Jun 2019 05:23:37 +0000 (13:23 +0800)]
fix(cross_chain): add asset_id check in cross_chain_in request (#177)

* init issuance_program

* add asset

* fix

* modify asset of crosschain input

* fix test

* add assetdef of bc

* fix

* modify code

* fix check assetID

* fix wallet uint

* fix review

* fix utxo uint test

* delete code

* remove space

* fix review

* remove checkfederation

* fix review

4 years agodelete the unused (#190)
Paladz [Tue, 18 Jun 2019 17:51:20 +0000 (01:51 +0800)]
delete the unused (#190)

4 years agoupdate vapor dashboard (#189)
Zhiting Lin [Tue, 18 Jun 2019 08:38:34 +0000 (16:38 +0800)]
update vapor dashboard (#189)

4 years agoelegant the code (#187) vapor_test
Paladz [Tue, 18 Jun 2019 01:38:19 +0000 (09:38 +0800)]
elegant the code (#187)

4 years agoRevert "delete the crazy log"
paladz [Mon, 17 Jun 2019 16:28:34 +0000 (00:28 +0800)]
Revert "delete the crazy log"

This reverts commit f3267d4dab32355bc233ae8be5f322cb039dfc59.

4 years agoRevert "rename the block cache to cache"
paladz [Mon, 17 Jun 2019 16:28:24 +0000 (00:28 +0800)]
Revert "rename the block cache to cache"

This reverts commit d7f2ef1a8d3d81f1e3af93823b60be367edbafae.

4 years agoRevert "modify the store code"
paladz [Mon, 17 Jun 2019 16:28:02 +0000 (00:28 +0800)]
Revert "modify the store code"

This reverts commit 4fbc190f49c61c6c08e61fb2897fc037c8155c05.

4 years agomodify the store code
paladz [Mon, 17 Jun 2019 16:23:24 +0000 (00:23 +0800)]
modify the store code

4 years agorename the block cache to cache
paladz [Mon, 17 Jun 2019 15:18:23 +0000 (23:18 +0800)]
rename the block cache to cache

4 years agodelete the crazy log
paladz [Mon, 17 Jun 2019 15:08:27 +0000 (23:08 +0800)]
delete the crazy log

4 years agofix vote result (#186)
muscle_boy [Mon, 17 Jun 2019 12:00:35 +0000 (20:00 +0800)]
fix vote result (#186)

4 years agoupdate vote result cache (#185)
Chengcheng Zhang [Mon, 17 Jun 2019 10:44:50 +0000 (18:44 +0800)]
update vote result cache (#185)

* update

* update

4 years agomodify block serialize (#184)
wz [Mon, 17 Jun 2019 06:48:09 +0000 (14:48 +0800)]
modify block serialize (#184)

4 years agofix cache of sign (#183) v0.1_modify_block_serialize
wz [Mon, 17 Jun 2019 06:19:42 +0000 (14:19 +0800)]
fix cache of sign (#183)

4 years agoV0.1 vote result cache (#182)
Chengcheng Zhang [Mon, 17 Jun 2019 06:16:16 +0000 (14:16 +0800)]
V0.1 vote result cache (#182)

* add voteResultCache lookup get add

* add GetVoteResult

* add TestVoteResultCache

* embed vote result cache in blockCache

* update

4 years agosplit block (#180) v0.1_block_cache_of_sign
wz [Sat, 15 Jun 2019 07:42:12 +0000 (15:42 +0800)]
split block (#180)

* split block

* fix test

* fix test

* rm code

* fix review

* fix test

* fix test

* fix cache

* modify func name

* modify import

* fix review

* fit text

4 years agoadd thread safe lru (#179)
muscle_boy [Fri, 14 Jun 2019 07:37:06 +0000 (15:37 +0800)]
add thread safe lru (#179)

4 years agoupdate vapor dashboard (#178)
Zhiting Lin [Fri, 14 Jun 2019 07:04:34 +0000 (15:04 +0800)]
update vapor dashboard (#178)

4 years agofeat(federation): add mainchain & sidechain listener (#170)
HAOYUatHZ [Fri, 14 Jun 2019 03:01:02 +0000 (11:01 +0800)]
feat(federation): add mainchain & sidechain listener (#170)

* init processChainInfo

* init ErrInconsistentDB

* clean

* fix processChainInfo

* fix

* init

* init

* add err handling

* fix

* fix

* fix

* fk

* fk

* fix

* dododo

* fix

* fk

* add add add

* fix

* fix

* fk

* fix

* clean

* dododo

* fk

* fox

* add

* add

* draft

* clean up

* clean up

* clean

* fix typo

* dododo

* rename

* fix

* fix

* add

* add

* fix https://github.com/Bytom/vapor/pull/170#discussion_r293642418

* fix

* clean

4 years agoadd block witness update function (#176)
Chengcheng Zhang [Thu, 13 Jun 2019 13:53:32 +0000 (21:53 +0800)]
add block witness update function (#176)

* add block witness update function

* add Delete and test function

* update

* update

* update

* update

4 years agofix utxo valid height (#174)
muscle_boy [Thu, 13 Jun 2019 10:37:38 +0000 (18:37 +0800)]
fix utxo valid height (#174)

* fix utxo valid height

* fix ci

* opt code