Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #233 from helium/madninja/bump_core
Browse files Browse the repository at this point in the history
Bump core  and assumed valid block
  • Loading branch information
madninja authored Aug 30, 2021
2 parents bc49bed + dac81c5 commit b9c7ae9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
14 changes: 6 additions & 8 deletions config/sys.config
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@
{blockchain, [
%% save snapshots even if we disagree on the hash
{save_bad_snapshot, true},
{snapshot_memory_limit, 300},
{snapshot_memory_limit, 2048},

{honor_quick_sync, true},
{quick_sync_mode, assumed_valid},

{assumed_valid_block_height, 933866},
{assumed_valid_block_height, 989249},
{assumed_valid_block_hash,
<<236, 198, 132, 125, 96, 148, 161, 57, 180, 110, 64, 215, 122, 103, 109, 123, 93, 206,
133, 17, 115, 35, 54, 212, 218, 86, 102, 7, 242, 11, 208, 107>>},
<<8, 95, 240, 132, 30, 154, 158, 155, 175, 234, 13, 45, 73, 54, 249, 177, 111, 176, 223,
144, 153, 109, 239, 196, 243, 49, 20, 243, 23, 164, 1, 184>>},

{commit_hook_callbacks, [
{entries, undefined, fun be_db_account:incremental_commit_hook/1,
Expand All @@ -82,17 +82,15 @@
fun be_db_gateway:end_commit_hook/2}
]},

%% set to number of cores -1
{validation_width, 7},
{block_sync_batch_size, 10},
{block_sync_batch_limit, 100},
{port, 44158},
{listen_addresses, ["/ip4/0.0.0.0/tcp/44158"]},
{key, undefined},
{base_dir, "data"},
{autoload, false},
{num_consensus_members, 16},
{seed_nodes,
"/ip4/35.166.211.46/tcp/2154,/ip4/44.236.95.167/tcp/2154,/ip4/3.34.61.168/tcp/2154"},
"/ip4/18.217.27.26/tcp/2154,/ip4/35.161.222.43/tcp/443,/ip4/99.80.158.114/tcp/2154"},
{disable_gateway_cache, true},
{sync_timeout_mins, 15},
{max_inbound_connections, 32},
Expand Down
4 changes: 1 addition & 3 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
{telemetry, "0.4.1"},
{psql_migration, {git, "https://github.com/helium/psql-migration.git", {branch, "master"}}},
{clique, {git, "https://github.com/helium/clique.git", {branch, "develop"}}},
{blockchain,
{git, "https://github.com/helium/blockchain-core.git",
{ref, "63cf6b5b613019bdbbd0850f18725964dba42e19"}}},
{blockchain, {git, "https://github.com/helium/blockchain-core.git", {tag, "2021.08.27.0"}}},
{envloader, {git, "https://github.com/nuex/envloader.git", {branch, "master"}}}
]}.

Expand Down
4 changes: 2 additions & 2 deletions rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{<<"base64url">>,{pkg,<<"base64url">>,<<"1.0.1">>},0},
{<<"blockchain">>,
{git,"https://github.com/helium/blockchain-core.git",
{ref,"63cf6b5b613019bdbbd0850f18725964dba42e19"}},
{ref,"b4bacdaa62f12f4c109f8349d74efce4cc6c5a5d"}},
0},
{<<"certifi">>,{pkg,<<"certifi">>,<<"2.7.0">>},1},
{<<"clique">>,
Expand Down Expand Up @@ -67,7 +67,7 @@
{<<"lager">>,{pkg,<<"lager">>,<<"3.9.2">>},0},
{<<"libp2p">>,
{git,"https://github.com/helium/erlang-libp2p.git",
{ref,"2f002713062f96d3df0763b782b42a907e77f65e"}},
{ref,"d1963fb4bac6c872841261fb14fd6379172b4078"}},
1},
{<<"libp2p_crypto">>,{pkg,<<"libp2p_crypto">>,<<"1.4.0">>},2},
{<<"merkerl">>,
Expand Down

0 comments on commit b9c7ae9

Please sign in to comment.