Comments (5)
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.
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.
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.
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.
Reported by [email protected]
on 2011-08-05 21:21:13
- Status changed:
Fixed
from bitcoinj.
Related Issues (20)
- DnsDiscoveryTest.testGetPeersThrowsPeerDiscoveryExceptionWithServicesGreaterThanZero fails intermittently
- PENDING_TX_DOWNLOADS_LIMIT is somewhat arbitrary and too low in at least some use-cases HOT 3
- Issue with Retrieving Private Keys: KeyCrypterException$PublicPrivateMismatch HOT 2
- Enable Gradle Build Scans on GitHub Actions HOT 6
- NPE when trying to create a wallet with wallet-tool HOT 2
- Something in PBKDF2SHA512.java confuse me HOT 3
- Builds with recent versions of Gradle use wrong variant of Guava (`-jre` not `-android`) HOT 4
- Switch to `-jre` version of Guava? HOT 1
- BIP-39 iteration count HOT 3
- Bootstrappable build with modern Gradle HOT 4
- Remove `WalletAppKit` Guava dependency from `o.b.core` HOT 4
- Hello,Bitcoin address transfer problem starting with 3 HOT 3
- Update WalletTemplate to run on the Java Module path HOT 3
- WalletTemplate built with `:installDist` target fails with "JavaFX runtime components are missing" error HOT 1
- How to generate a P2TR type address HOT 2
- Bitcoin Taproot address issue HOT 1
- KeyChainGroup.Builder: fromKey() and fromSeed() (still) create a `fallBackChain` when creating `P2WPKH` HOT 1
- When will Bitcoinj support spending p2tr input? HOT 2
- InsufficientMoneyException Error
- The result of base58.decode is inconsistent with the JS version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcoinj.