0

Is it possible to manually add utxos to the utxo database?

Could this be done by editing the chainstate file?

1

Note that, like "the mempool", there is no "the UTXO database". You can change the UTXO database for one node and only that node. Such changes will not effect other nodes and does not change the state of the network. By modifying a node's UTXO database, that node has the possibility of forking off of the actual Bitcoin blockchain.

Is it possible to manually add utxos to the utxo database?

Could this be done by editing the chainstate file?

Yes it is possible to modify a node's UTXO database. It is just several files which you can modify directly. Bitcoin Core uses LevelDB so you will need to use something that can read and write to LevelDB databases.

  • So which are the files you would have to modify directly? – Errol Mar 22 '18 at 5:32
  • The *.ldb files in the chainstate folder of the Bitcoin Core datadir. – Andrew Chow Mar 22 '18 at 5:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.