• R/O
  • HTTP
  • SSH
  • HTTPS

vapor: Repository summary

Golang implemented sidechain for Bytom


Recent Commits RSS

Rev. Time Author Message
3df7516 2019-07-23 14:38:16 wz master Reward util (#342) * add vote reward * add config ...
3aec498 2019-07-23 12:25:46 mars reward_util fix review
030b740 2019-07-23 12:19:50 mars fix review
54f4f5a 2019-07-23 11:43:26 Paladz Merge branch 'master' into reward_util
5ad96a7 2019-07-23 11:38:55 mars modify table name
4bc8c34 2019-07-23 11:29:34 yahtoo Opz log print (#343)
7928c2e 2019-07-23 10:33:14 mars add unit test
2b4b277 2019-07-23 00:21:55 paladz try edit the code format
a720961 2019-07-22 19:39:12 mars add block hash
52a8ad6 2019-07-22 19:29:57 mars modify error

Recently edited Tags

Name Rev. Time Author
v1.0.0 3a6cd96 2019-07-20 11:58:14 apolloww
v0.3.0 353a871 2019-07-18 11:56:01 Zhiting Lin
v0.2.0 0af46f9 2019-06-28 15:21:12 Zhiting Lin
v0.1.0 f921741 2019-06-20 12:06:14 Paladz

Branches

Name Rev. Time Author Message
master 3df7516 2019-07-23 14:38:16 wz Reward util (#342) * add v...
reward_util 3aec498 2019-07-23 12:25:46 mars fix review
fix_sweep_txpool df28dbb 2019-07-20 11:32:13 Wei Wang txpool: periodically sweep ...
Dockerfile 43a6104 2019-07-20 11:30:28 Yahtoo Ma Modify Dockerfile expose po...
edit_dump db2a15f 2019-07-19 23:20:35 paladz delete the key index
dump da60fba 2019-07-19 21:01:03 HAOYUatHZ update db dump (#332)
wallet-store-test ff61324 2019-07-19 18:06:43 Chengcheng Zhang Merge branch 'master' into ...
mainnet_seeds 2cb65e9 2019-07-19 17:30:13 HAOYUatHZ add mainnet seeds
consensus b57db94 2019-07-19 17:02:19 HAOYUatHZ vapor v1.0 genesis consensus
clean c567be0 2019-07-19 03:02:19 Paladz Merge branch 'master' into...
federation-address b91e392 2019-07-18 18:06:58 Chengcheng Zhang update GetNodeInfo
deadlock 38428c0 2019-07-18 15:56:44 Yahtoo Ma Opz name of the variable
netParams 9ab6328 2019-07-17 21:17:17 HAOYUatHZ update doc
update eaf5d99 2019-07-17 17:58:24 HAOYUatHZ fix config & update mysql d...
account-store-test 821efc3 2019-07-17 16:14:31 Chengcheng Zhang fix conflict
dev-free 5764f1c 2019-07-17 11:24:10 oys optimise
ten_times_federation_vote cbf22dd 2019-07-17 10:28:25 shenao78 ten times federation vote
fix_fed_connect_issue 47f5cf7 2019-07-17 00:50:48 paladz fix bug
node_path 0b60020 2019-07-15 23:16:13 HAOYUatHZ refactor: use derived xpubs...
fed_path 33f41e2 2019-07-15 22:03:37 HAOYUatHZ add fed path
test-save-block e2faecd 2019-07-15 20:25:32 Chengcheng Zhang update
rename_dir 427c35b 2019-07-15 15:18:20 mars rename dir
voter_reward 3ed12f9 2019-07-15 14:55:58 mars rename dir
netsync 59d2863 2019-07-15 13:15:53 Yahtoo Ma Fix test file err
filter_t 2499362 2019-07-15 12:15:34 Paladz Merge branch 'master' into...
modify-init 767b83d 2019-07-13 11:37:35 Chengcheng Zhang update init
asset_symbol dad98e7 2019-07-12 20:56:18 HAOYUatHZ fix import
fix-bug f13b0c0 2019-07-12 20:47:53 paladz try to fix ban peer bug
add-xpub c48080a 2019-07-12 18:36:43 Chengcheng Zhang update
signature_msg 16276da 2019-07-12 15:54:27 Paladz Merge branch 'master' into...
dashboard 8c09b5e 2019-07-12 15:03:12 Zhiting Lin update dashboard
dev-genernl 59604bb 2019-07-12 11:20:25 oys optimise
fix-get-utxo 73f40d5 2019-07-11 17:26:30 Chengcheng Zhang update log
fix_bug_list_transactions 2ab002a 2019-07-11 17:20:52 mars fix bug
dev-modify 3c8eaad 2019-07-11 12:19:45 oys optimise
wallet-store-interface 3fa10c8 2019-07-11 11:43:17 Chengcheng Zhang update getExternalDefinition
parallel-fast-sync 84b4214 2019-07-11 10:04:52 Yahtoo Ma Fix review bug
blacklist 91fc4aa 2019-07-10 20:36:11 Yahtoo Ma fix ban node failed
master-filterAccountTxs 0310308 2019-07-10 15:27:21 Chengcheng Zhang update
wallet-store-interface-TestRescanWallet c71db6d 2019-07-09 22:15:47 Chengcheng Zhang remove loop
fix_tx_rollback df33e58 2019-07-09 12:29:00 Wei Wang restore Tx back to Tx pool ...
fix_change d041427 2019-07-08 15:20:58 HAOYUatHZ filter change output
wallet-store-interface-TestRescanWallet-prefix 027b55d 2019-07-08 13:46:40 Chengcheng Zhang move db wallet store prefix
dev-coinbase 1611874 2019-07-06 16:16:59 Paladz Merge branch 'master' into...
fix_LIB 2b9475d 2019-07-05 19:02:10 Wei Wang keep last irreversible bloc...
fix_outputID aea2a15 2019-07-05 11:48:33 HAOYUatHZ refine code
wallet-store-interface-mockstore 3ada9e6 2019-07-05 05:17:37 Chengcheng Zhang update TestMemPoolTxQueryLoop
wallet-store-interface-unmarshal db398f2 2019-07-04 22:10:54 Chengcheng Zhang fix conflicts
blockheight d3c2fdb 2019-07-04 16:14:39 HAOYUatHZ Merge remote-tracking branc...
small_edit 2282cf7 2019-07-04 12:22:11 paladz delete unused file
compression 3b96051 2019-07-03 16:50:51 mars add compression
distribution_rewards 94ffe40 2019-07-02 20:53:58 wz Tx validate mining (#237) ...
tx_validate_mining 73c5c97 2019-07-02 20:17:12 mars tx validate for minging
fed_prog 106fc48 2019-07-02 16:34:13 HAOYUatHZ filter source block height
fix_paging 4cc569a 2019-07-02 16:17:31 mars fix paging
paging_utxo e2294ce 2019-07-01 16:52:48 wz Paging (#234) * add paging...
wallet-store-interface-walletstore ef9af46 2019-06-28 17:43:03 Chengcheng Zhang update SetStandardUTXO
paging 924a3bf 2019-06-28 17:27:51 mars Merge remote-tracking branc...
dev-fix 1eff3e9 2019-06-28 13:16:43 oys fix array out of index range
wallet-store-interface-marshal-test 78fd2d8 2019-06-28 02:55:43 Chengcheng Zhang update GetUTXOs
fix_lru e73e54d 2019-06-27 21:29:31 Paladz Merge branch 'master' into...
sql 653699f 2019-06-27 16:50:32 HAOYUatHZ clean up
wallet-store-interface-marshal 8110aa5 2019-06-27 13:47:47 Chengcheng Zhang update
test_mining_status f1e14d9 2019-06-27 12:25:01 paladz add more test data
test_vapore_status 11374c1 2019-06-27 11:53:38 paladz Merge branch 'master' into ...
test_porcess_block_bench 23e2515 2019-06-26 21:05:55 paladz add log
async_validate_tx 904d105 2019-06-26 20:54:15 paladz speed up valiate tx
req c68c98d 2019-06-26 19:50:32 HAOYUatHZ add address filter
list_address 52e7985 2019-06-26 18:39:16 HAOYUatHZ update docs
timestamp f05c242 2019-06-26 17:14:54 HAOYUatHZ add asset
feddoc d0bb5bd 2019-06-26 15:39:31 HAOYUatHZ refactor reponse
wallet-store-interface-account 25dc665 2019-06-26 00:19:06 Chengcheng Zhang finish account
dev-blockindex 87c0b30 2019-06-25 19:54:49 oys optimsie
wallet-store-interface-batch-dev 3c99f69 2019-06-25 03:44:53 Chengcheng Zhang update
wallet-store-interface-batch c3dc15d 2019-06-24 20:49:31 Chengcheng Zhang update
fix-dockerfile ee074fa 2019-06-24 15:34:48 Chengcheng Zhang fix dockerfile
api_vete_error 74691a4 2019-06-24 15:34:12 mars fix
vapor_bench 12ef516 2019-06-24 14:24:33 Wei Wang update script
wallet-interface-to-database 2441eb4 2019-06-24 03:09:01 Chengcheng Zhang move wallet_store.go
wallet-interface-account 612fd76 2019-06-23 21:40:03 Chengcheng Zhang add account_store.go
testdb 3bc7494 2019-06-23 09:04:44 HAOYUatHZ Dwth
wallet-store-interface-dev 6095069 2019-06-22 01:53:00 Chengcheng Zhang pass ci
coinbase_reward b49aa55 2019-06-21 13:36:18 apolloww vapord docker: add missing ...
docker1 5a542ec 2019-06-21 11:59:14 Wei Wang vapord docker: add missing ...
fix_lru_vote a52a2a0 2019-06-20 21:08:57 apolloww dockerize vapord (#214)
test_vote ddc2443 2019-06-20 17:48:58 wz Test crossin (#213) * fix ...
test_crossin 79a3683 2019-06-20 17:40:49 mars fix review
Makefile 080e9b3 2019-06-20 16:08:12 Chengcheng Zhang update from master
v0.1-wallet-store-interface c0dec37 2019-06-20 12:17:01 Chengcheng Zhang add wallet DB interface
v0.1 f921741 2019-06-20 12:06:14 Paladz edit config (#200) * edit...
edit_config 465e4fb 2019-06-20 12:00:10 paladz edit the config
v0.1_fix_bug 1a5cad8 2019-06-20 11:37:56 wz V0.1 docs crosschain (#199)...
l-fast-sync 380ed46 2019-06-20 11:26:17 Yahtoo Ma Add debug info
v0.1_docs_crosschain 3bb5a46 2019-06-20 11:12:28 mars fix test
v0.1_contract_for_btm ddd8ab9 2019-06-20 10:52:29 mars Cancel contract of btm ins...
v0.1_modify_utxo_limit e58aa25 2019-06-20 10:28:57 wz Merge branch 'v0.1' into v...
v0.1-move-db-interface 3812da2 2019-06-19 22:54:19 Chengcheng Zhang update
fix_orphan_block ff232f9 2019-06-19 19:11:31 paladz add unit test
fast-sync 37defb1 2019-06-19 17:26:41 Yahtoo Ma add test info
input bfbefbf 2019-06-19 14:12:09 mars Merge branch 'input' of htt...

README.md

Vapor

Build Status AGPL v3

Golang implemented sidechain for Bytom.

Requirements

  • Go version 1.11 or higher, with $GOPATH set to your preferred directory

Get source code

$ git clone https://github.com/Bytom/vapor.git $GOPATH/src/github.com/vapor

Then, you have two ways to get vapor executable file:

  1. compile source code
  2. build it using Docker

Installation

$ cd $GOPATH/src/github.com/vapor $ make install

Run Directly

Firstly, you need initialize node:

$ vapord init --chain_id=mainnet --home <vapor-data-path>

The default vapor data path (on the host) is: + Mac: ~/Library/Application Support/Vapor + Linux: ~/.vapor + Windows: %APPDATA%\Vapor

Then, start your node:

$ vapord node --home <vapor-data-path>

Running in Docker

Build the image

$ cd $GOPATH/src/github.com/vapor $ docker build -t vapor .

Enter the iterative mode

$ docker run -it --net=host -v <vapor/data/directory/on/host/machine>:/root/.vapor vapor:latest

vapor data directory has three config files:

  • config.toml
  • federation.json
  • node_key.txt

Use exit to exit Docker's iterative mode.

Daemon mode

For example,

bash $ docker run -d --net=host -v <vapor/data/directory/on/host/machine>:/root/.vapor vapor:latest vapord node --web.closed --auth.disable

To list the running containners and check their container id, image, corresponding command, created time, status, name and ports being used:

$ docker container ls

or

$ docker ps

To execute a command inside a containner, for example:

$ docker exec -it <containerId> vaporcli create-access-token <tokenId>

To stop a running containner:

$ docker stop <containerId>

To remove a containner:

$ docker rm <containerId>

License

AGPL v3

Show on old repository browser