0

I want to use bitcoin-core just for sending bitcoin from my address to another destination address. i don't need the huge history information of blockchain. In fact, I want to run a light-weight bitcoin-core service in my local machine and just use its commands related to create, sign and send transaction. Is it possible without syncing to blockchain network and downloading blocks?

Thank you in advance

Reza Hedayati

  • If you add prune=550 option to bitcoin.conf it'll sync but not keep anything that is not relevant or required. – MCCCS May 5 at 12:59
1

A fully synced Bitcoin node is the only way to know without trust that the coins you think you own are really yours. Otherwise, someone can trick you into thinking you have money you don't. You can try to spend the counterfeit coins, but the network will reject your transaction.

If disk space is your primary concern you can run your node with pruning active, which deletes old blocks from disk but maintains a complete UTXO set, which is all you need for full validation.

If bandwidth or CPU is your primary concern, you can investigate the SPV and Neutrino models, which compromise privacy and security in varying degrees for convenience.

Finally, and this is not recommended, but you can trust someone to run a full node for you and provide you with the minimal amount of data you need to create a transaction which you can then sign and broadcast locally. This can be done (for example) by requesting transaction data from Blockstream's esplora API and you can see an example of such a construction in my (novelty-only-do-not-use-for-real) brainwallet sweeper application: https://github.com/pinheadmz/brainsweeper

| improve this answer | |

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.