Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use nodeid #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

use nodeid #5

wants to merge 4 commits into from

Conversation

littleskunk
Copy link
Contributor

No description provided.

@littleskunk
Copy link
Contributor Author

DB migration is missing.

@littleskunk
Copy link
Contributor Author

Here comes the migration plan:

  1. Install pycoin (requirement.txt).
  2. Delete network.db and summary.db.
  3. Create Index db.farmers.createIndex( { time: 1 } )
  4. Execute db migration python3 db_migration_nodeid.py

updateSQL.py and update_summary.py will rebuild network.db and summary.db. The initial run will need some time.

@littleskunk littleskunk mentioned this pull request Mar 19, 2016
@littleskunk
Copy link
Contributor Author

Review f483:
nodeid needs char(40) and rename address to nodeid.

I have to agree. We delete network.db and summary.db. It is the best moment to refactor everything.

@littleskunk littleskunk force-pushed the master branch 2 times, most recently from 14f1452 to 2af8bea Compare March 20, 2016 22:54
@littleskunk littleskunk force-pushed the master branch 3 times, most recently from 4fb5592 to 5043aa8 Compare March 21, 2016 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant