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

Renamed Darkcoin to Dash #169

Merged
merged 3 commits into from Apr 9, 2015
Merged

Renamed Darkcoin to Dash #169

merged 3 commits into from Apr 9, 2015

Conversation

crowning-
Copy link
Contributor

"Darkcoin" was recently renamed to "Dash", see https://www.dashpay.io/news/darkcoin-is-now-dash/ .
I have implemented this change.

Additionally I have increased the the length of the database representation of the currency string by one (chain_code3 is now VARCHAR(5)) to allow 4-character currency names there.

Due to the way VARCHAR() is implemented this is fully backward compatible.

People who already have Abe running for the old "Darkcoin" blockchain need to do the following steps to make it run as "Dash":

  1. delete blocks- and chainstate-folders from .dash
  2. re-sync the Dash blockchain from scratch
  3. delete the complete Abe-database, e.g. when you use mysql:
    • connect to database: mysql -u root -p
    • delete database: drop database abe;
    • create it again: create database abe;
    • give user abe the permissions again: grant all on abe.* to abe;
  4. rebuild the Abe-database: python -m Abe.abe --config abe.conf --commit-bytes 10000 --no-serve

It's important to connect to the database as user "root". I tried it with user "abe" first and it did NOT correctly rebuild Abe's database.

The configuration file for Abe (abe.conf) should have the following datadir entry:

datadir = [{
        "dirname": "/home/<username>/.dash/",
        "chain":   "Dash",
        "code3":   "DASH",
        "address_version": "\u004c" }]

@jtobey
Copy link
Member

jtobey commented Apr 8, 2015

A couple minor issues. The files are made executable (100644 → 100755). Please put them back to 644. Please put the genesis hash and tx back in its old position in genesis_tx.py so the diff shows only the change to coin name.
Thanks.

@crowning-
Copy link
Contributor Author

Re-ordered for minimal diff and file permissions set to 644.

Sorry for the permission thing, I guess the text editor did this :-/
Should have used what I normally use, vi :-)

jtobey added a commit that referenced this pull request Apr 9, 2015
Renamed Darkcoin to Dash and widened code3 to 5.
@jtobey jtobey merged commit b999f58 into bitcoin-abe:master Apr 9, 2015
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.

None yet

2 participants