Firestarter is a tool to Boot and Validate the network. The strategy behind the code is to inject the erc20 snapshot in the least amount of time possible. In order to do this we have combined these techniques: # 1. We modified the following Blockchain parameters: ``` bparams['max_block_cpu_usage'] = 100000000 bparams['max_transaction_cpu_usage'] = 99999899 ``` What we achieve with this is to allow cpu-costly transactions into a block. At the same we run nodeos with the following commands to allow more time for the transaction to be processed: ```--max-transaction-time 100000``` # 2. Grouping many transactions into one tx We also donβt rely on Cleos to send one transaction at the time, [instead we build one big transaction that groups 4500 actions into 1 tx](https://github.com/EOSArgentina/firestarter/blob/284d9e7456bdebe269146bda509001a196aa4800/inject/injector.py#L101) (4500 actions that create 1500 accounts) # 3. After the injection, we setup back the parameters to the genesis value  [Source](https://unsplash.com/photos/C2a4RGapd8s)
author | eosargentina |
---|---|
permlink | injecting-the-full-erc20-snapshot-in-under-6-minutes-firestarter |
category | eosio |
json_metadata | {"community":"busy","app":"busy/2.4.0","format":"markdown","links":["https://github.com/EOSArgentina/firestarter/blob/284d9e7456bdebe269146bda509001a196aa4800/inject/injector.py#L101","https://unsplash.com/photos/C2a4RGapd8s"],"tags":["eosio","eos","blockproducer"]} |
created | 2018-06-04 00:54:36 |
last_update | 2018-06-04 00:55:51 |
depth | 0 |
children | 2 |
last_payout | 2018-06-11 00:54:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 16.232 HBD |
curator_payout_value | 4.347 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,175 |
author_reputation | 3,312,690,232,047 |
root_title | "Injecting the full ERC20 snapshot in under 6 minutes - FireStarter" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 59,125,314 |
net_rshares | 5,627,456,614,305 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dan | 0 | 1,176,488,239,174 | 100% | ||
chitty | 0 | 318,378,048,774 | 100% | ||
sandwich | 0 | 24,216,493,984 | 100% | ||
methodise | 0 | 28,084,591,913 | 100% | ||
avarice | 0 | 39,029,586,849 | 14% | ||
mjhomb | 0 | 178,684,234,281 | 100% | ||
joelaldrich | 0 | 2,785,649,313 | 100% | ||
yuhjtman | 0 | 13,731,131,884 | 100% | ||
slavix | 0 | 374,144,111,090 | 100% | ||
dr-waldo | 0 | 1,195,442,167 | 100% | ||
etka | 0 | 11,859,748,539 | 100% | ||
elorenzoni | 0 | 611,127,945 | 100% | ||
cryptotvnews | 0 | 611,243,358 | 100% | ||
hijosdelhombre | 0 | 53,763,314,474 | 100% | ||
nenya | 0 | 82,650,384 | 15% | ||
almariah | 0 | 528,001,887 | 100% | ||
tsto | 0 | 814,421,717 | 100% | ||
erikodi | 0 | 610,390,398 | 100% | ||
hackerzizon | 0 | 203,394,999 | 1% | ||
dailyupvotes | 0 | 917,624,046,436 | 64.52% | ||
eos.detroit | 0 | 1,424,230,320 | 100% | ||
estabond | 0 | 2,478,439,023,803 | 65.79% | ||
eosargentina | 0 | 2,978,396,590 | 100% | ||
rosepac | 0 | 573,133,236 | 100% | ||
genereos | 0 | 595,960,790 | 100% |
You got a 64.52% upvote from @dailyupvotes courtesy of @eosargentina! Please upvote this comment to support the service.
author | dailyupvotes |
---|---|
permlink | re-eosargentina-injecting-the-full-erc20-snapshot-in-under-6-minutes-firestarter-20180604t020837061z |
category | eosio |
json_metadata | {"app":"postpromoter/2.0.0"} |
created | 2018-06-04 02:08:36 |
last_update | 2018-06-04 02:08:36 |
depth | 1 |
children | 0 |
last_payout | 2018-06-11 02:08:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 122 |
author_reputation | 746,471,883,194 |
root_title | "Injecting the full ERC20 snapshot in under 6 minutes - FireStarter" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 59,131,969 |
net_rshares | 0 |
Great job Guys!
author | genereos |
---|---|
permlink | re-eosargentina-injecting-the-full-erc20-snapshot-in-under-6-minutes-firestarter-20180604t012712703z |
category | eosio |
json_metadata | {"tags":["eosio"],"app":"steemit/0.1"} |
created | 2018-06-04 01:27:12 |
last_update | 2018-06-04 01:27:12 |
depth | 1 |
children | 0 |
last_payout | 2018-06-11 01:27:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 15 |
author_reputation | 1,697,447,856,870 |
root_title | "Injecting the full ERC20 snapshot in under 6 minutes - FireStarter" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 59,128,175 |
net_rshares | 1,219,838,946 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dr-waldo | 0 | 1,219,838,946 | 100% |