Closed jimtalksdata closed 5 years ago
Proposed resolutions:
Further comment:
ubuntu@ip-xxx:/var/lib/nyzo/production$ ls
blocks nickname seed_transactions verifier_private_seed
blocks.tgz queue_timestamps trusted_entry_points
Closing the issue. See below with @nyzo's comment on migration.
what he said and, yes, it's a richlist it's calculated every block, and the hash of the list is stored in the block we'll put up a page with migration instructions, because it can be done effectively, but it can be tricky we migrated Nyzo 6 to a new instance a while back because of another AWS failure and AWS does seem to be having a lot of failures recently
the basics of migration are this: (1) start a new instance with a different key (let it generate a new one) (2) run the new instance until it starts creating blocks and the -1 values disappear from the status; it won't transmit any blocks, but it will start creating them (3) put your key from your current verifier into the verifier_private_seed file on the new verifier (4) shut down your old verifier (5) restart your new verifier
step 2 will take the longest -- a little over 4 cycles
Summary: Migrating from node A (old) to node B (new) with same private key for a node A in the cycle leads to node being dropped from the cycle
Severity: Medium-high (existing verifiers are blocked from hardware/cloud provider updates at the risk of being dropped from cycle)
In the white paper:
The problem:
As node resource and bandwidth requirements increase, it may be prudent for users currently in the cycle to migrate to nodes with larger capacity/processing power. Unfortunately, this also changes the IP address usually. It is unclear from above, but two interpretations are possible:
If (1), then this is a bug. If (2), then this is a design feature.
Now, replicating the bug (assuming my reading of 1 is correct):
The following output is generated in logs: (info hidden by +++)
nickname: +++ version: 476 ID: +++ mesh: 0 active, 536 inactive cycle length: 301 transactions: 0 retention edge: -1 trailing edge: -1 frozen edge: 892692 (ajmo2-1) open edge: 892692 blocks transmitted/created: 0/0 votes requested: 0 new timestamp: 2604 old timestamp: 1543045657578 blocks: 14: 0,[892673,892692] balance lists: 3(G=-,r=-,f=-)
Is there a resolution or is this "working as designed"?