bitcoingraph icon indicating copy to clipboard operation
bitcoingraph copied to clipboard

Documentation step 3, post-import update

Open zenonp opened this issue 1 year ago • 0 comments

The part from "Then, start the Neo4J shell...:" up to and including "$NEO4J_HOME/bin/neo4j start" is outdated. The correct procedure with neo4j-4.4 and later is

If you did not run the import as user:group neo4j, fix db ownership: chown -R neo4j:neo4j $NEO4J_HOME/data

Start the database: systemctl start neo4j # or whatever is applicable on your system

Open a cypher shell: cypher-shell -d <your_database> -u neo4j

and create the following uniquness constraints: CREATE CONSTRAINT FOR (a:Address) REQUIRE a.address IS UNIQUE; CREATE CONSTRAINT FOR (o:Output) REQUIRE o.txid_n IS UNIQUE;

zenonp avatar Mar 14 '23 20:03 zenonp