Golang implemented sidechain for Bytom
Rev. | Time | Author | Message |
---|---|---|---|
31d5b04 | 2022-03-07 17:44:51 | 崔浩鑫 | ending_node feat(modify): modify |
b900bd5 | 2022-02-22 14:54:32 | 崔浩鑫 | feat(modify): modify |
9f9ca96 | 2022-02-22 11:13:05 | 崔浩鑫 | feat(modify): modify |
c04bc65 | 2022-02-21 18:07:54 | 崔浩鑫 | feat(add end height): add end height |
52435b3 | 2021-08-19 11:36:56 | yzb | master v1.1.9 versoin1.1.9 (#594) Co-authored-by: yzb@example.cn <yzb... |
07bf75c | 2021-08-18 18:34:18 | wyjDoraemon | change crossin tx multi sign to single (#593) * change ... |
3412df0 | 2021-08-18 16:35:49 | doraemon | cross_chain opt |
1a2c7a3 | 2021-08-18 16:31:14 | 崔浩鑫 | statis_node feat(add a sh file): add s sh file |
aca4980 | 2021-08-18 16:14:37 | 崔浩鑫 | feat(add img_vapord): add img_vapord |
499f37b | 2021-08-17 22:02:25 | doraemon | change crossin tx multi sign to single |
Name | Rev. | Time | Author |
---|---|---|---|
v1.1.9 | 52435b3 | 2021-08-19 11:36:56 | yzb |
v1.1.8 | 36e5c72 | 2021-01-27 21:42:12 | Paladz |
v1.1.7 | a9bd2b9 | 2020-11-11 19:28:45 | Paladz |
v1.1.6 | f0a5220 | 2020-10-26 15:26:25 | Paladz |
v4.8.11 | 7f1e7ec | 2020-10-22 15:35:52 | Paladz |
v1.1.5 | 694fc4e | 2020-09-24 18:39:17 | DeKaiju |
v1.1.4 | 2287fc4 | 2020-07-14 14:47:43 | Poseidon |
v1.1.3 | c105e64 | 2020-05-23 13:21:44 | Paladz |
v1.1.2 | c24c174 | 2020-04-23 17:01:28 | Poseidon |
v1.1.1 | 0188780 | 2020-04-10 12:11:37 | DeKaiju |
v1.1.0 | 3dba952 | 2020-03-26 13:36:32 | Paladz |
v1.0.5 | 0b8e544 | 2019-12-04 19:31:15 | Poseidon |
v1.0.4 | 4b5e427 | 2019-10-24 16:05:17 | wz |
1.0.3 | 3f53de9 | 2019-09-20 23:43:46 | Paladz |
v1.0.3 | 3f53de9 | 2019-09-20 23:43:46 | Paladz |
v1.0.2 | 27106c4 | 2019-09-19 19:48:12 | Paladz |
v1.0.1 | bf344d1 | 2019-08-29 15:26:41 | yahtoo |
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 |
Name | Rev. | Time | Author | Message |
---|---|---|---|---|
ending_node | 31d5b04 | 2022-03-07 17:44:51 | 崔浩鑫 | feat(modify): modify |
master | 52435b3 | 2021-08-19 11:36:56 | yzb | versoin1.1.9 (#594) Co-au... |
cross_chain | 3412df0 | 2021-08-18 16:35:49 | doraemon | opt |
statis_node | 1a2c7a3 | 2021-08-18 16:31:14 | 崔浩鑫 | feat(add a sh file): add s ... |
federation | 77e2cd2 | 2021-08-17 17:34:13 | doraemon | delete code |
btm2.0_segwit | 78398ae | 2021-08-12 14:48:01 | doraemon | edit bytom bench segwit |
fed_api | 52529c7 | 2021-05-11 17:43:26 | songxuexian | split fed api and keeper |
fix_bp | ac48e77 | 2021-04-13 20:37:53 | paladz | add height |
rm_comments | 2ee5a56 | 2021-03-18 10:58:52 | doraemon | rm useless comments |
osssync | e71ea0e | 2021-03-15 16:14:44 | Welt | vaporClient |
edit_tool | 7f73f92 | 2021-03-15 11:42:14 | paladz | update reward distribuction... |
edit_reward | 7ea9084 | 2021-03-11 20:35:38 | paladz | edit the standby node rewar... |
edit_sync | e6cea78 | 2021-01-27 17:49:44 | paladz | edit the sync config |
fix_leak_2 | 1164828 | 2021-01-27 15:21:53 | paladz | fix leak 2 |
fix_leak | cea5af2 | 2021-01-27 13:33:54 | paladz | try fix leak++ |
skip_rollback_fail | 3c48031 | 2020-12-18 11:29:57 | shenao78 | skip rollback fail |
cancel_order_fee | 5aabd1d | 2020-11-11 16:32:13 | paladz | allow cancel order charge fee |
add_crypto_cache | 23d1d76 | 2020-10-30 13:27:00 | paladz | enable cached when init node |
max_propose_tx_num | 9447ca7 | 2020-10-29 21:16:04 | paladz | add_soft_limit for max_tx p... |
performance | 2c87853 | 2020-10-29 20:44:03 | paladz | add performance test point |
time_measure | fc540b9 | 2020-10-28 14:43:03 | paladz | add read me doc |
prepare-release | 442fdd4 | 2020-10-26 12:33:43 | paladz | prepare 1.1.6 |
maker_taker | 6e4c9d8 | 2020-10-22 15:24:49 | shenao78 | update fork block height |
edit_time | 78423f2 | 2020-10-22 15:18:15 | paladz | edit the procss block time |
edit_asset_filter | 7d031be | 2020-10-21 13:46:30 | paladz | edit small changes |
net-info | 52a2595 | 2020-09-22 21:31:12 | Chengcheng Zhang | update |
keystore_use | 62715b5 | 2020-09-22 18:58:42 | ipqhjjybj | add code |
asset-info | 4076224 | 2020-09-17 14:05:23 | Chengcheng Zhang | update |
mov-solonet | e4b5885 | 2020-09-16 12:16:56 | oys | merge master |
err_ban_rule | 67bb1bb | 2020-09-08 21:44:18 | paladz | don't ban double sign |
add_irreversible_block | 340b55d | 2020-09-07 14:28:31 | Paladz | Merge branch 'master' into... |
fix_rollback | eabfde0 | 2020-08-13 12:04:43 | ipqhjjybj | fix rollback |
fix_rollback_exception | 71c2e48 | 2020-08-12 20:05:35 | shenao78 | fix rollback exception |
fix_concurrent_sign_block | 63fe53e | 2020-08-07 11:56:24 | shenao78 | don't increase ban score wh... |
Status2Str | 60f35d3 | 2020-08-06 11:53:58 | Chengcheng Zhang | add Status2Str |
maker_taker_v2 | de893b4 | 2020-07-31 16:42:48 | shenao78 | fix determine whether IsP2W... |
dev-magneticV2 | 342e622 | 2020-07-28 15:07:57 | oys | magnetic v2 transction test |
run_maker_taker | ad393b4 | 2020-07-20 16:13:35 | shenao78 | Merge branch 'maker_taker' ... |
v1.1.4_release | 0ec5a7b | 2020-07-14 14:26:20 | shenao78 | update version |
update_ProducerSubsidys | 6e004bf | 2020-07-13 17:09:54 | shenao78 | update_ProducerSubsidys |
hot_fix | 37cfb50 | 2020-05-23 05:26:44 | paladz | add version number |
v1.1.2_release | 29755d2 | 2020-04-23 16:34:40 | shenao78 | fix pr num |
gov2 | 0188780 | 2020-04-10 12:11:37 | DeKaiju | build(version): change vap... |
key_alias | b8c0ca3 | 2020-04-02 20:59:30 | Paladz | Merge branch 'master' into... |
mov_late_node_sync_test | 573465e | 2020-04-02 20:54:59 | shenao78 | use iterator replace to ite... |
sync_for_late_node | 8fe5d2e | 2020-04-01 20:59:17 | shenao78 | prevent duplicate init chai... |
mov_fast_sync | bb191b4 | 2020-03-26 10:51:54 | shenao78 | Merge branch 'fix_fee' into... |
fix_fee | d546f7d | 2020-03-26 02:13:05 | paladz | fix format |
fix_match_engine | 64b4b3c | 2020-03-25 18:46:14 | shenao78 | fix match engine |
fix_mov_engine | 7f3c654 | 2020-03-25 14:51:58 | shenao78 | fix mov enginej |
mov | 37774d2 | 2020-03-21 11:37:06 | Paladz | last review (#519) * last... |
elegant | f34f519 | 2020-03-21 11:11:45 | paladz | edit for code review |
opt_is_matched | 68ccbb4 | 2020-03-18 18:04:44 | shenao78 | opt is matched |
temp_sync_branch | ad1eab4 | 2020-03-18 15:21:46 | shenao78 | temp sync branch |
rollback_test_casesubmit | e8b6064 | 2020-03-18 14:56:39 | Paladz | Merge branch 'mov' into ro... |
fix_issue | 9b74aec | 2020-03-16 19:56:05 | paladz | no tricks |
ban_status_fail | 5b12cb7 | 2020-03-16 15:38:57 | paladz | ban status fail for flash s... |
for_bepal | 5da5b24 | 2020-03-13 22:39:13 | paladz | edit for quick fix |
opt_mov | abfee0c | 2020-03-11 11:06:41 | shenao78 | opt mov |
one_thousandth_fee | b726c24 | 2020-03-10 19:50:17 | Poseidon | Merge branch 'mov' into on... |
fix_mov_contract_test | 718345d | 2020-03-10 19:06:10 | shenao78 | fix_mov_contract_test |
fee | a2089dc | 2020-03-10 15:58:40 | paladz | edit for code review |
fee_strategy | cdf7e7a | 2020-03-09 16:08:38 | shenao78 | fee strategy |
validate_reward_address | e443154 | 2020-03-06 16:55:36 | shenao78 | opt code |
match_fee_strategy | 7ce3949 | 2020-03-06 13:15:52 | shenao78 | merge mov |
fixed_bonus_address | dc43c45 | 2020-03-03 15:15:34 | shenao78 | fixed reward address |
rollback_test_pr | 18f93fb | 2020-03-02 12:23:33 | ipqhjjybj | ro |
fast_sync | da3156f | 2020-02-26 16:09:58 | shenao78 | fast sync |
rollback_mock_pr4 | a8059b1 | 2020-02-26 11:40:38 | ipqhjjybj | add mov heigh |
rollback_real_pr4 | 532549b | 2020-02-26 11:23:35 | ipqhjjybj | add all |
compatiable | e50960c | 2020-02-25 14:35:33 | shenao78 | Merge branch 'mov' into com... |
fix_validate_tx | bf037dd | 2020-02-25 13:17:25 | shenao78 | fix validate tx |
rollback_pr4 | 43c8874 | 2020-02-24 20:38:58 | ipqhjjybj | s |
fix_add_order_of_order_book | 01eeb53 | 2020-02-23 13:00:51 | Paladz | Merge branch 'mov' into fi... |
rollback_pr3 | f310fd9 | 2020-02-20 17:34:09 | ipqhjjybj | rename |
rollback_pr3_1 | 4cc5b5e | 2020-02-20 09:09:35 | ipqhjjybj | re design reorganizeChain |
rollback_real_pr2 | 5e92793 | 2020-02-19 18:37:43 | ipqhjjybj | change rollback func return... |
fix_init_mov_state | 3462e2c | 2020-02-19 15:40:47 | shenao78 | remove Junk files |
rollback_pr2 | 3b10a18 | 2020-02-19 10:51:27 | ipqhjjybj | add deleteBlock and then f... |
rollback_pr1 | 9f9a32d | 2020-02-18 21:35:14 | ipqhjjybj | Merge branch 'rollback_pr1'... |
rollback_block | b3ddcbe | 2020-02-18 16:49:47 | ipqhjjybj | first commit for rollback b... |
asset_whitelist | 2837760 | 2020-02-15 19:43:10 | HAOYUatHZ | golint |
fix_add_order_bug | 75c0efa | 2020-02-13 20:59:04 | paladz | fix add order bug |
validate_matched_tx_sequence_test | 07dd42e | 2020-02-13 11:59:38 | shenao78 | Supplementary unit tests |
api_requeset_fix | 00f7804 | 2020-02-12 16:38:33 | mars | add body close for http req... |
review | 9b0a600 | 2020-02-12 11:34:29 | paladz | edit for code review |
opt_mathch_collector | 350afe3 | 2020-02-06 19:45:05 | shenao78 | opt_mathch_collector |
opt_mov_performance | 5c2c40c | 2020-02-06 18:23:53 | shenao78 | use int for worker num |
fix_decimal | 4c90195 | 2020-01-22 15:31:09 | shenao78 | fix decimal |
fix_open_federation_issue_asset | e0345b2 | 2020-01-20 16:39:25 | shenao78 | fix_open_federation_issue_a... |
complement_mov_test | 6c9119c | 2020-01-19 17:16:42 | shenao78 | complement mov test |
mov_test | eccbe23 | 2020-01-09 17:26:38 | EC2 Default User | test config |
mov_fast | 7f77e74 | 2020-01-07 15:08:25 | shenao78 | mov fast |
update_seeds | 557ab78 | 2020-01-07 10:54:29 | shenao78 | remove config.json |
fix_mov_bug | e029003 | 2020-01-03 15:23:49 | ipqhjjybj | s |
tele_test | dfeb5b4 | 2020-01-03 11:32:54 | Jay | Add |
fix_long_fork | aa9235f | 2019-12-26 17:29:16 | shenao78 | fix |
opt_mov_validate_match_tx | 760aee0 | 2019-12-24 21:28:45 | shenao78 | Merge branch 'opt_mov_valid... |
fix_lru_bug | bf455f1 | 2019-12-24 20:43:20 | shenao78 | remove blanck line |
tele_test_dashboard | 9fea129 | 2019-12-24 17:00:04 | Zhiting Lin | update dashboard with cross... |
Golang implemented sidechain for Bytom.
$GOPATH
set to your preferred directory$ cd $GOPATH/src/github.com/bytom
$ git clone https://github.com/Bytom/vapor.git
Then, you have two ways to get vapor executable file:
$ cd $GOPATH/src/github.com/bytom/vapor
$ make install
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>
$ cd $GOPATH/src/github.com/bytom/vapor
$ docker build -t vapor .
$ 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.
For example,
$ 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>
After the supernode and alternative node receive the reward from the node, they will allocate the reward
according to the interest rate.
The reward calculation rules:
calculate the reward (consensus reward * interest rate * voting weight) according to the weight of votes
cast in consensus around, and choose how many rounds of consensus to allocate the reward flexibly.
UTXO has been merged to solve the problem that too much UTXO input causes a failed send transaction to fail. details