OSDN Git Service

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

4 years agoadd GetTransactions GetAllUnconfirmedTxs
Chengcheng Zhang [Fri, 21 Jun 2019 08:54:16 +0000 (16:54 +0800)]
add GetTransactions GetAllUnconfirmedTxs

4 years agoadd GetAccountUtxos
Chengcheng Zhang [Fri, 21 Jun 2019 08:02:46 +0000 (16:02 +0800)]
add GetAccountUtxos

4 years agoadd DeleteAllWalletTxs DeleteAllWalletUTXOs
Chengcheng Zhang [Fri, 21 Jun 2019 06:33:04 +0000 (14:33 +0800)]
add DeleteAllWalletTxs DeleteAllWalletUTXOs

4 years agoadd GetWalletInfo SetWalletInfo
Chengcheng Zhang [Fri, 21 Jun 2019 06:09:15 +0000 (14:09 +0800)]
add GetWalletInfo SetWalletInfo

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 agoadd db interface functions
Chengcheng Zhang [Fri, 21 Jun 2019 04:27:34 +0000 (12:27 +0800)]
add db interface functions

4 years agoupdate
Chengcheng Zhang [Fri, 21 Jun 2019 01:46:28 +0000 (09:46 +0800)]
update

4 years agoadd some interface functions
Chengcheng Zhang [Thu, 20 Jun 2019 19:41:20 +0000 (03:41 +0800)]
add some interface functions

4 years agoadd some interface functions
Chengcheng Zhang [Thu, 20 Jun 2019 19:19:11 +0000 (03:19 +0800)]
add some interface functions

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 branch 'master' into wallet-store-interface
Chengcheng Zhang [Thu, 20 Jun 2019 06:41:06 +0000 (14:41 +0800)]
Merge branch 'master' into wallet-store-interface

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 agoadd store.go
Chengcheng Zhang [Thu, 20 Jun 2019 06:17:20 +0000 (14:17 +0800)]
add store.go

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