iotaledger / iri

IOTA Reference Implementation
Other
1.15k stars 371 forks source link

Update readme to encourage users to use hornet #1870

Closed GalRogozinski closed 3 years ago

GalRogozinski commented 4 years ago

Description of change

Encourage users to use hornet

Type of change

GalRogozinski commented 4 years ago

Good question @JakeSCahill I think we should supply the instructions I would give both options

@acha-bill (or @achabill, don't remember the handle he currently uses), created the migration procedure. Let's wait for him to reply here

Then let's create a migration document, and add it as a link to the README

acha-bill commented 4 years ago

Migration tool is here: https://github.com/acha-bill/iri-db-migration

@taraszka was testing this on some nodes. Maybe we want to wait for his feedback before proceeding with documentation.

JakeSCahill commented 3 years ago

So if I'm reading this right, you need to have a certain snapshot on the Hornet node already?

If you have very old transactions on your IRI node, Hornet won't be able to process them?

acha-bill commented 3 years ago

If you have very old transactions on your IRI node, Hornet won't be able to process them?

Yes. If txs from IRI are older than the local snapshot hornet is running from.

If hornet starts from global snapshot, then time validation will always pass.

JakeSCahill commented 3 years ago

From what I can see, there aren't many DB dumps available: https://dbfiles.iota.org/?prefix=mainnet/hornet/

So the oldest transactions may only be from May of this year?

JakeSCahill commented 3 years ago

Nevermind my last comment.

I have an open PR for our documentation portal, which includes a migration guide: https://github.com/iotaledger/documentation/pull/722

You can see it on staging here: https://docs.iota.works/docs/hornet/1.0/guides/migrating-from-iri

Maybe we want to link to that?

@acha-bill could you ping me when the tool is ready?

GalRogozinski commented 3 years ago

So @acha-bill the tool works well? Can we add a link to the the docs and close the PR?

taraszka commented 3 years ago

@GalRogozinski - let's wait. The migration tool almost finished the migration (LSMI/LMI: 1439876/1452434) so we will have a really large database of hornet available (since index: 1050000) soon. I'd suggest waiting for hornet-0.4.1 and then encourage users to use hornet (it should be available more/less same time when the first database of hornet be available at dbfiles.iota.org)

Thanks