OSDN Git Service

bytom/vapor.git
4 years agoupdate GetTransaction
Chengcheng Zhang [Fri, 28 Jun 2019 07:31:09 +0000 (15:31 +0800)]
update GetTransaction

4 years agoupdate GetStandardUTXO
Chengcheng Zhang [Fri, 28 Jun 2019 07:17:47 +0000 (15:17 +0800)]
update GetStandardUTXO

4 years agoupdate
Chengcheng Zhang [Fri, 28 Jun 2019 07:03:44 +0000 (15:03 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Fri, 28 Jun 2019 06:49:58 +0000 (14:49 +0800)]
update

4 years agoupdate GetAccountByAccountID
Chengcheng Zhang [Fri, 28 Jun 2019 06:29:10 +0000 (14:29 +0800)]
update GetAccountByAccountID

4 years agoupdate GetControlProgram
Chengcheng Zhang [Fri, 28 Jun 2019 06:11:23 +0000 (14:11 +0800)]
update GetControlProgram

4 years agoupdate GetAssetDefinition
Chengcheng Zhang [Fri, 28 Jun 2019 02:32:37 +0000 (10:32 +0800)]
update GetAssetDefinition

4 years agoupdate
Chengcheng Zhang [Thu, 27 Jun 2019 18:30:50 +0000 (02:30 +0800)]
update

4 years agoupdate GetUTXOs wallet-store-interface-marshal-test
Chengcheng Zhang [Thu, 27 Jun 2019 17:55:43 +0000 (01:55 +0800)]
update GetUTXOs

4 years agoupdate SetControlProgram
Chengcheng Zhang [Thu, 27 Jun 2019 17:35:16 +0000 (01:35 +0800)]
update SetControlProgram

4 years agoupdate GetControlProgram
Chengcheng Zhang [Thu, 27 Jun 2019 17:02:23 +0000 (01:02 +0800)]
update GetControlProgram

4 years agoupdate SetMiningAddress
Chengcheng Zhang [Thu, 27 Jun 2019 16:45:43 +0000 (00:45 +0800)]
update SetMiningAddress

4 years agoadd DeleteAccountUTXOs
Chengcheng Zhang [Thu, 27 Jun 2019 16:05:12 +0000 (00:05 +0800)]
add DeleteAccountUTXOs

4 years agoupdate GetContractIndex
Chengcheng Zhang [Thu, 27 Jun 2019 15:36:42 +0000 (23:36 +0800)]
update GetContractIndex

4 years agoupdate GetAccountIndex
Chengcheng Zhang [Thu, 27 Jun 2019 15:22:59 +0000 (23:22 +0800)]
update GetAccountIndex

4 years agoupdate GetAccountByAccountID
Chengcheng Zhang [Thu, 27 Jun 2019 15:06:01 +0000 (23:06 +0800)]
update GetAccountByAccountID

4 years agoupdate GetAccountIDByAccountAlias
Chengcheng Zhang [Thu, 27 Jun 2019 14:48:32 +0000 (22:48 +0800)]
update GetAccountIDByAccountAlias

4 years agoadd SetAccount
Chengcheng Zhang [Thu, 27 Jun 2019 14:19:35 +0000 (22:19 +0800)]
add SetAccount

4 years agoupdate
Chengcheng Zhang [Thu, 27 Jun 2019 13:19:08 +0000 (21:19 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Thu, 27 Jun 2019 13:18:59 +0000 (21:18 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Thu, 27 Jun 2019 11:51:50 +0000 (19:51 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Thu, 27 Jun 2019 09:42:12 +0000 (17:42 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Thu, 27 Jun 2019 08:58:14 +0000 (16:58 +0800)]
update

4 years agoadd TestBuildBtmTxChain
Chengcheng Zhang [Thu, 27 Jun 2019 08:05:44 +0000 (16:05 +0800)]
add TestBuildBtmTxChain

4 years agoupdate
Chengcheng Zhang [Thu, 27 Jun 2019 07:34:09 +0000 (15:34 +0800)]
update

4 years agoadd account_test builder_test
Chengcheng Zhang [Thu, 27 Jun 2019 07:17:36 +0000 (15:17 +0800)]
add account_test builder_test

4 years agoupdate wallet-store-interface-marshal
Chengcheng Zhang [Thu, 27 Jun 2019 04:47:47 +0000 (12:47 +0800)]
update

4 years agoupdate account manager
Chengcheng Zhang [Thu, 27 Jun 2019 03:23:11 +0000 (11:23 +0800)]
update account manager

4 years agomodify sotre function
Chengcheng Zhang [Thu, 27 Jun 2019 03:04:17 +0000 (11:04 +0800)]
modify sotre function

4 years agoupdate
Chengcheng Zhang [Thu, 27 Jun 2019 02:51:14 +0000 (10:51 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Wed, 26 Jun 2019 14:01:40 +0000 (22:01 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Wed, 26 Jun 2019 13:54:26 +0000 (21:54 +0800)]
update

4 years agoadd wallet_store_test.go
Chengcheng Zhang [Wed, 26 Jun 2019 13:37:07 +0000 (21:37 +0800)]
add wallet_store_test.go

4 years agoremove store_key.go
Chengcheng Zhang [Wed, 26 Jun 2019 13:36:20 +0000 (21:36 +0800)]
remove store_key.go

4 years agoMerge branch 'master' into wallet-store-interface-marshal
Chengcheng Zhang [Wed, 26 Jun 2019 10:38:05 +0000 (18:38 +0800)]
Merge branch 'master' into wallet-store-interface-marshal

4 years agoupdate
Chengcheng Zhang [Wed, 26 Jun 2019 10:37:39 +0000 (18:37 +0800)]
update

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 agoremove getfirstaccount
Chengcheng Zhang [Wed, 26 Jun 2019 08:51:28 +0000 (16:51 +0800)]
remove getfirstaccount

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 agomove interface
Chengcheng Zhang [Wed, 26 Jun 2019 07:14:52 +0000 (15:14 +0800)]
move interface

4 years agomove interface
Chengcheng Zhang [Wed, 26 Jun 2019 07:14:33 +0000 (15:14 +0800)]
move interface

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 agoMerge branch 'master' into wallet-store-interface-account
Chengcheng Zhang [Tue, 25 Jun 2019 15:43:09 +0000 (23:43 +0800)]
Merge branch 'master' into wallet-store-interface-account

4 years agofix testdata
Chengcheng Zhang [Tue, 25 Jun 2019 15:42:24 +0000 (23:42 +0800)]
fix testdata

4 years agofix test
Chengcheng Zhang [Tue, 25 Jun 2019 15:36:10 +0000 (23:36 +0800)]
fix test

4 years agofinish account wallet-store-interface-account
Chengcheng Zhang [Tue, 25 Jun 2019 15:19:06 +0000 (23:19 +0800)]
finish account

4 years agoupdate
Chengcheng Zhang [Tue, 25 Jun 2019 12:19:06 +0000 (20:19 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Tue, 25 Jun 2019 12:16:23 +0000 (20:16 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Tue, 25 Jun 2019 12:07:59 +0000 (20:07 +0800)]
update

4 years agoMerge branch 'wallet-store-interface-account' into wallet-store-interface
Chengcheng Zhang [Tue, 25 Jun 2019 12:05:38 +0000 (20:05 +0800)]
Merge branch 'wallet-store-interface-account' into wallet-store-interface

4 years agoadd store_key_test.go
Chengcheng Zhang [Tue, 25 Jun 2019 12:05:17 +0000 (20:05 +0800)]
add store_key_test.go

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 agoMerge branch 'master' into wallet-store-interface
Chengcheng Zhang [Tue, 25 Jun 2019 11:45:02 +0000 (19:45 +0800)]
Merge branch 'master' into wallet-store-interface

4 years agoMerge branch 'master' into wallet-store-interface-account
Chengcheng Zhang [Tue, 25 Jun 2019 11:44:09 +0000 (19:44 +0800)]
Merge branch 'master' into wallet-store-interface-account

4 years agoadd account_store.go store_key.go
Chengcheng Zhang [Tue, 25 Jun 2019 11:40:43 +0000 (19:40 +0800)]
add account_store.go store_key.go

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 agomodify return value
Chengcheng Zhang [Tue, 25 Jun 2019 08:47:13 +0000 (16:47 +0800)]
modify return value

4 years agoraname DB to accountDB
Chengcheng Zhang [Tue, 25 Jun 2019 08:31:12 +0000 (16:31 +0800)]
raname DB to accountDB

4 years agofinish wallet
Chengcheng Zhang [Tue, 25 Jun 2019 08:12:51 +0000 (16:12 +0800)]
finish wallet

4 years agoMerge branch 'master' into wallet-store-interface-batch
Chengcheng Zhang [Tue, 25 Jun 2019 07:11:18 +0000 (15:11 +0800)]
Merge branch 'master' into wallet-store-interface-batch

4 years agoupdate
Chengcheng Zhang [Tue, 25 Jun 2019 07:09:13 +0000 (15:09 +0800)]
update

4 years agoadd walletbatch
Chengcheng Zhang [Tue, 25 Jun 2019 06:08:30 +0000 (14:08 +0800)]
add walletbatch

4 years agoupdate wallet-store-interface-batch-dev
Chengcheng Zhang [Mon, 24 Jun 2019 18:44:53 +0000 (02:44 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Mon, 24 Jun 2019 15:45:55 +0000 (23:45 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Mon, 24 Jun 2019 15:13:45 +0000 (23:13 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Mon, 24 Jun 2019 13:32:44 +0000 (21:32 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Mon, 24 Jun 2019 12:31:23 +0000 (20:31 +0800)]
update

4 years agoupdate wallet-store-interface-batch
Chengcheng Zhang [Mon, 24 Jun 2019 11:49:31 +0000 (19:49 +0800)]
update

4 years agoupdate wallet_store.go
Chengcheng Zhang [Mon, 24 Jun 2019 07:58:05 +0000 (15:58 +0800)]
update wallet_store.go

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 agoupdate
Chengcheng Zhang [Mon, 24 Jun 2019 06:29:25 +0000 (14:29 +0800)]
update

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

4 years agoadd initBatch commitBatch
Chengcheng Zhang [Mon, 24 Jun 2019 02:38:53 +0000 (10:38 +0800)]
add initBatch commitBatch

4 years agoupdate
Chengcheng Zhang [Mon, 24 Jun 2019 01:27:37 +0000 (09:27 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Mon, 24 Jun 2019 01:21:25 +0000 (09:21 +0800)]
update

4 years agomove wallet_store.go wallet-interface-to-database
Chengcheng Zhang [Sun, 23 Jun 2019 18:09:01 +0000 (02:09 +0800)]
move wallet_store.go

4 years agoupdate
Chengcheng Zhang [Sun, 23 Jun 2019 17:34:23 +0000 (01:34 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Sun, 23 Jun 2019 17:31:55 +0000 (01:31 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Sun, 23 Jun 2019 17:04:26 +0000 (01:04 +0800)]
update

4 years agoupdate GetAccountUTXOs
Chengcheng Zhang [Sun, 23 Jun 2019 16:57:29 +0000 (00:57 +0800)]
update GetAccountUTXOs

4 years agoadd account_store.go wallet-interface-account
Chengcheng Zhang [Sun, 23 Jun 2019 12:40:03 +0000 (20:40 +0800)]
add account_store.go

4 years agorename wallet_store.go
Chengcheng Zhang [Sun, 23 Jun 2019 05:46:20 +0000 (13:46 +0800)]
rename wallet_store.go

4 years agoupdate
Chengcheng Zhang [Sun, 23 Jun 2019 04:45:53 +0000 (12:45 +0800)]
update

4 years agorename WalletStorer
Chengcheng Zhang [Sun, 23 Jun 2019 04:33:44 +0000 (12:33 +0800)]
rename WalletStorer

4 years agoupdate
Chengcheng Zhang [Sat, 22 Jun 2019 09:18:54 +0000 (17:18 +0800)]
update

4 years agorename GetRawProgram
Chengcheng Zhang [Sat, 22 Jun 2019 08:21:25 +0000 (16:21 +0800)]
rename GetRawProgram

4 years agodelete batch
Chengcheng Zhang [Sat, 22 Jun 2019 07:57:39 +0000 (15:57 +0800)]
delete batch

4 years agoupdate GetTransaction
Chengcheng Zhang [Sat, 22 Jun 2019 07:50:14 +0000 (15:50 +0800)]
update GetTransaction

4 years agoupdate
Chengcheng Zhang [Sat, 22 Jun 2019 07:24:36 +0000 (15:24 +0800)]
update

4 years agoupdate
Chengcheng Zhang [Sat, 22 Jun 2019 06:56:37 +0000 (14:56 +0800)]
update

4 years agorename GetAccountUtxos
Chengcheng Zhang [Sat, 22 Jun 2019 06:15:36 +0000 (14:15 +0800)]
rename GetAccountUtxos

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

4 years agofix conflicts
Chengcheng Zhang [Fri, 21 Jun 2019 16:58:18 +0000 (00:58 +0800)]
fix conflicts

4 years agopass ci wallet-store-interface-dev
Chengcheng Zhang [Fri, 21 Jun 2019 16:53:00 +0000 (00:53 +0800)]
pass ci

4 years agoupdate
Chengcheng Zhang [Fri, 21 Jun 2019 16:42:52 +0000 (00:42 +0800)]
update

4 years agoreplace db functions
Chengcheng Zhang [Fri, 21 Jun 2019 13:32:59 +0000 (21:32 +0800)]
replace db functions

4 years agoupdate
Chengcheng Zhang [Fri, 21 Jun 2019 12:30:39 +0000 (20:30 +0800)]
update