OSDN Git Service

bytom/vapor.git
3 months agofix bug (#251)
wz [Mon, 8 Jul 2019 08:00:16 +0000 (16:00 +0800)]
fix bug (#251)

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

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

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

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

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

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

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

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

3 months 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)

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

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

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

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

* fix paging

* fix test

* fix

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

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

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

3 months 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)

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

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

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

Add default data path

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

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

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

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

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

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

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

3 months 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)

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

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

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

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

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

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

3 months 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)

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

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

* fix crossin

* fix review

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4 months 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 months 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 months 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 months agomodify the store code
paladz [Mon, 17 Jun 2019 16:23:24 +0000 (00:23 +0800)]
modify the store code

4 months 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 months agodelete the crazy log
paladz [Mon, 17 Jun 2019 15:08:27 +0000 (23:08 +0800)]
delete the crazy log

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

4 months 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 months agomodify block serialize (#184)
wz [Mon, 17 Jun 2019 06:48:09 +0000 (14:48 +0800)]
modify block serialize (#184)

4 months 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 months 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 months 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 months agoadd thread safe lru (#179)
muscle_boy [Fri, 14 Jun 2019 07:37:06 +0000 (15:37 +0800)]
add thread safe lru (#179)

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

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

4 months agoadd cancel vote (#172)
wz [Thu, 13 Jun 2019 08:50:23 +0000 (16:50 +0800)]
add cancel vote (#172)

* add cancel vote

* fix review

* modify name

* fix review

* fix test

* fix test

4 months agoadd get-blocker api (#173)
muscle_boy [Thu, 13 Jun 2019 07:49:03 +0000 (15:49 +0800)]
add get-blocker api (#173)

* add get-blocker api

* opt code

4 months agocheck vote output amount (#171)
Chengcheng Zhang [Thu, 13 Jun 2019 03:31:07 +0000 (11:31 +0800)]
check vote output amount (#171)

* check vote output amount

* update

4 months agorefactor(federation): refactor db schema (#169)
HAOYUatHZ [Wed, 12 Jun 2019 13:20:43 +0000 (21:20 +0800)]
refactor(federation): refactor db schema (#169)

* add

* fix typo

4 months agoV0.1 docker (#166)
Chengcheng Zhang [Wed, 12 Jun 2019 11:38:04 +0000 (19:38 +0800)]
V0.1 docker (#166)

* modify docker

* update

* update

* update

* update

* update

* update

4 months agofeat: add processIssuing (#152)
HAOYUatHZ [Wed, 12 Jun 2019 09:33:30 +0000 (17:33 +0800)]
feat: add processIssuing (#152)

* init asset

* add confirmations

* fix

* add processBlock

* clean db

* add getAsset

* fix https://github.com/Bytom/vapor/pull/152#discussion_r291964871 & https://github.com/Bytom/vapor/pull/152#discussion_r291964144

* init AssetCache

* set maxAssetCached

* add rm get

* implement add get remove assetCache

* use assetCache instead of assetMap

* use hashicorp/golang-lru

* add bytom vendor

* fix submodule

* use golang/groupcache/lru

* fix https://github.com/Bytom/vapor/pull/152#discussion_r292805572

* fix asset create

4 months agoadd get-consensus-nodes api (#159)
muscle_boy [Wed, 12 Jun 2019 08:38:28 +0000 (16:38 +0800)]
add get-consensus-nodes api (#159)

* add get-consensus-nodes api

* add get vote result api

* bug fix

* remove is consensus node

* bug fix

* remove is consensus

* add sort for get vote result api

* rename

4 months agofix detach vote (#164)
muscle_boy [Wed, 12 Jun 2019 08:16:23 +0000 (16:16 +0800)]
fix detach vote (#164)

4 months agofix: waive charging storage gas for cross-chain (#162)
HAOYUatHZ [Wed, 12 Jun 2019 08:12:21 +0000 (16:12 +0800)]
fix: waive charging storage gas for cross-chain (#162)

* fix: do not charge storage gas for cross-chain

* fix: fix skip-storage-gas attack

4 months agomodify (#161)
wz [Wed, 12 Jun 2019 06:45:35 +0000 (14:45 +0800)]
modify (#161)

4 months agofix bug (#160)
Paladz [Wed, 12 Jun 2019 05:50:32 +0000 (13:50 +0800)]
fix bug (#160)

* fix bug

* fix bug

4 months agoadd witness to get block api (#158)
muscle_boy [Tue, 11 Jun 2019 08:32:09 +0000 (16:32 +0800)]
add witness to get block api (#158)

4 months agoadd api for vote num (#149)
wz [Tue, 11 Jun 2019 08:24:14 +0000 (16:24 +0800)]
add api for vote num (#149)

* add api for vote num

* fix review

* fix review

4 months agoprevent the double sign lock (#157)
Paladz [Tue, 11 Jun 2019 06:43:49 +0000 (14:43 +0800)]
prevent the double sign lock (#157)