a utility for updating the nano code with the standard banano changes.
-
clone https://github.com/nanocurrency/nano-node.git into your own repo.
-
git clone your repo into ano_build
git clone --branch develop https://github.com/coranos/nulnode.git nulano_build;
-
set coinPrivateKey and coinPrefixCamelCase to something other than ban. try coinPrivateKey = '0000000000000000000000000000000000000000000000000000000000000000'; and coinPrefixCamelCase = 'Nul';
-
run:
npm start;
-
check in the code that was changed.
-
edit ./bandaid.sh to have the correct build info based on nano and banano latest builds
https://github.com/BananoCoin/banano/wiki/Building-a-Bananode-from-sources
https://docs.nano.org/integration-guides/build-options/#node_1
-
run ./bandaid.sh
-
follow the instructions to build banano from source up until 'make bananode'
https://github.com/BananoCoin/banano/wiki/Building-a-Bananode-from-sources
-
copy bandaid_build over banano_build
-
python3 record_rep_weights.py --rpc http://localhost:7072 ../rep_weights_live.bin
-
resume building banano from source 'make bananode'
-
check in the new source code.