3

I would like to accept 0-confirmation bitcoin for very small amounts. I am happy to accept zero-confirmation spends and am aware of the risks. However, the tool needs the ability to "flag" the accepted transaction/s if a double-spend is detected. I can then decide what action to take.

I do not want to use a centralized third-party tool. I would like to use something locally on the server. It would simply display pre-generated public addresses. No need for private keys and/or seeds to be on the server.

Does such a tool exist?

Thank you.

  • I tried to clarify a title bit. Hopefully it is ok. – Mikko Ohtamaa Oct 1 '14 at 8:45
  • I would imagine you need to interact directly with bitcoind, but there are some wrappers. – Mikko Ohtamaa Oct 1 '14 at 8:46
  • Here is one: github.com/snitko/straight-server - you can try to fish out Bitcond wrappers for your favorite programming language on Github search. EDIT: Straight uses blockchain.info instead of Bitcoin network, so it is out of the question – Mikko Ohtamaa Oct 1 '14 at 8:52
1

You should not interact with bitcoind, because it (current versions at least) filteres double-spend transactions

You should have your own network-sniffer solutution - the program which connects to the network nodes (as many as possible) and listens for all transactions, checking do they have conflicts with particular ones.

(How much would you pay for such program? Just interesting :) )

This is also not 100% safe solution - a miner can place double-spending transaction in block and mine it himself. Look here: https://bitcointalk.org/index.php?topic=327767.0

0

Yes bitcoind filters double-spends. I am not aware of anything that can listen and detect double-spends. I too would be interested in this. I would imagine that a simple tool would be needed which just detects double-spends. You could then do as you wish with the tx ID and notify an existing payment application.

0

Check out Bitcoin XT which is an early release version of functions that are proposed for Bitcoin Core. It relays double spends, and notifies the wallet of double-spend attempts that affect it.

You can hook up your own code to be run immediately when a double-spend is detected, using the -respendnotify option.

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.