GithubHelp home page GithubHelp logo

Comments (5)

mikehearn avatar mikehearn commented on May 7, 2024
Interesting. That line runs when there's a double spend detected:

Transaction connected = doubleSpent.outputs.get((int)input.outpoint.index).getSpentBy().parentTransaction;

Unfortunately it's quite a complicated expression (too complicated), so it's hard to
know which part was null.

But presumably you weren't intending to double spend :-) What was the exact sequence
of events that led to this? Presumably the wallet is unavailable this time too?

Reported by [email protected] on 2011-07-02 09:39:46

from bitcoinj.

mikehearn avatar mikehearn commented on May 7, 2024
I promised the wallet will not be unavailable again, so here it is (-:

I did not intend to double-spend.

I tried to describe the series of events in my bug report. All tx before (received
4 btc, sent 1.5 btc, sent 2.5 btc) went well, the client reported a balance of 0 btc
after sending away the 2.5 btc (at the entry point of this bug report).

Reported by andreas.schildbach on 2011-07-02 09:52:25


- _Attachment: [wallet-testnet](https://storage.googleapis.com/google-code-attachments/bitcoinj/issue-37/comment-2/wallet-testnet)_

from bitcoinj.

mikehearn avatar mikehearn commented on May 7, 2024
Ah, and I think you can see from the linked blockexplorer dump that tx 9d12d10f0b29239e0807744daa50b22b4079657b12a4a0fdb842abe70f6d1ec0
was indeed no double-spend.

Reported by andreas.schildbach on 2011-07-02 09:54:52

from bitcoinj.

mikehearn avatar mikehearn commented on May 7, 2024
What you see here is a false double-spend as documented in issue #430. 

Reported by jan.moller on 2011-07-26 08:57:16

from bitcoinj.

mikehearn avatar mikehearn commented on May 7, 2024

Reported by [email protected] on 2011-08-05 21:21:13

  • Status changed: Fixed

from bitcoinj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.