Mike Hearn
|
7867841579
|
Fix an off by one error in tx depth migration.
|
2012-09-08 23:28:26 +02:00 |
|
Mike Hearn
|
087a4f2447
|
Close block store after finding height for wallet import.
|
2012-09-07 15:11:32 +02:00 |
|
Mike Hearn
|
8003266a66
|
Set the tx depth fields whilst loading 0.5 era wallets if the chain height is provided before load. This does NOT migrate workDone as that'd involve scanning potentially the entire block store and nobody uses this data much today. Resolves issue 240.
|
2012-09-06 18:50:35 +02:00 |
|
Mike Hearn
|
572f2a4f4e
|
Implement the ability to explicitly set a fee in the Wallet.SendRequest. Does not yet auto-calculate the correct fees. Resolves issue 45. Resolves issue 245.
|
2012-09-06 17:45:04 +02:00 |
|
Mike Hearn
|
915a2adb10
|
Fix a NullPointerException introduced by the TCPNetworkConnection helper APIs.
|
2012-09-06 17:25:43 +02:00 |
|
Mike Hearn
|
48b4eb95a6
|
Update WalletTool to new send API.
|
2012-09-06 15:05:20 +02:00 |
|
Mike Hearn
|
29d5dcd424
|
Re-organize the wallet sending APIs to take a SendRequest. Full details of the API changes are sent to the list.
|
2012-09-06 14:22:05 +02:00 |
|
Mike Hearn
|
8162aa0ed1
|
Use current time as unit test chain genesis block time. Resolves a weird issue where the unit tests suddenly broke as the previous unit test genesis time was equal to testnet genesis time.
|
2012-09-06 12:37:00 +02:00 |
|
Mike Hearn
|
38aabdfa24
|
JavaDoc improvements and other minor tweaks. Remove a few things that are not really meant to be public APIs.
|
2012-08-30 23:46:54 +02:00 |
|
Mike Hearn
|
2961f65594
|
Use the new TCPNetworkConnection.connectTo API in PrintPeers, act as an example of the Guava futures API too.
|
2012-08-30 23:16:37 +02:00 |
|
Mike Hearn
|
8453654b85
|
Add a TODO in PeerGroup
|
2012-08-30 23:16:15 +02:00 |
|
Mike Hearn
|
26d55f889d
|
Add a convenience API to TCPNetworkConnection to get a handshaked connection. Update JavaDocs.
|
2012-08-30 23:16:05 +02:00 |
|
Mike Hearn
|
dee14b7109
|
Use JDK logging in the examples module.
|
2012-08-30 23:14:00 +02:00 |
|
Mike Hearn
|
5c8bfbda8b
|
Delete a bit of dead code in PeerGroup.
|
2012-08-30 15:49:52 +02:00 |
|
Mike Hearn
|
0ae4c6e4d5
|
Mark JDK SLF adapter as scope test. Resolves issue 231.
|
2012-08-30 15:42:21 +02:00 |
|
Mike Hearn
|
56d74d504a
|
Another pass at the auto-save code. Resolves issue 246.
|
2012-08-30 15:39:31 +02:00 |
|
Mike Hearn
|
4e708ed4b0
|
Change AUTHORS file.
|
2012-08-21 11:40:47 +02:00 |
|
Mike Hearn
|
83bb66cc25
|
Serialize the broadcastBy set for each transaction. Resolves issue 237.
|
2012-08-20 23:37:46 +02:00 |
|
Mike Hearn
|
fedfe9d0e6
|
Change the wallet to relay tx confidence events instead of generating them itself, which is a bit cleaner. Centralize state that needs to be rebuilt after a Java deserialization. Resolves issue 235.
|
2012-08-20 18:30:37 +02:00 |
|
Mike Hearn
|
eff88810e2
|
Add Matt to the AUTHORS file
|
2012-08-20 17:55:12 +02:00 |
|
Matt Corallo
|
e5c88cda8b
|
Fix Utils.decodeMPI and add a Utils.encodeMPI
|
2012-08-20 17:50:19 +02:00 |
|
Matt Corallo
|
61ed962e63
|
Implement PUSHDATA4 in Script.parse
|
2012-08-20 17:50:19 +02:00 |
|
Matt Corallo
|
a831374b72
|
Fix handling of improperly-encoded DER signatures to match OpenSSL
This always reads variables in DER signatures as positive, even
when they are encoded as negative.
|
2012-08-20 17:50:19 +02:00 |
|
Matt Corallo
|
dd89369538
|
Fix a bug in Script.parse to allow 0-length pushes.
|
2012-08-20 17:50:19 +02:00 |
|
Matt Corallo
|
60748ed72e
|
Print any opcode in Script.toString, adding Script.getOpCodeName
|
2012-08-20 17:50:19 +02:00 |
|
Matt Corallo
|
8b07672922
|
Add all script OP constants from the reference client.
|
2012-08-20 17:50:18 +02:00 |
|
Mike Hearn
|
8cc41330e6
|
Delete the old confidence migration code that was used in the days of serialized wallets. It's no longer needed.
|
2012-08-20 16:55:53 +02:00 |
|
Mike Hearn
|
200ca96f49
|
Rewrite the class javadoc for Wallet and remove a dead autosave variable.
|
2012-08-20 16:44:56 +02:00 |
|
Matt Corallo
|
5abc124134
|
Remove redundant programCopy from Script.
|
2012-08-20 16:23:12 +02:00 |
|
Matt Corallo
|
dc943b6e6d
|
Remove unused multi-byte script support.
|
2012-08-20 16:23:11 +02:00 |
|
Matt Corallo
|
30db7cfd47
|
Use pong(+nonce) messages.
* Adds a Pong class
* Uses nonces in pings (when applicable)
* Responds to pings with pongs (when applicable)
* Changes protocol version to 60001
|
2012-08-20 16:23:11 +02:00 |
|
Matt Corallo
|
5f8ae00dd6
|
Use minimum values for SpendableCoinbaseDepth.
Use 100 for SpendableCoinbaseDepth instead of 120 on mainnet, and
use 100 on testnet, as the reference client does.
|
2012-08-20 16:23:11 +02:00 |
|
Matt Corallo
|
20d72d7de4
|
Use a ScriptChunk class in place of byte[] arrays.
|
2012-08-20 16:23:11 +02:00 |
|
Matt Corallo
|
ca1466e628
|
Make isCoinBase() equivalent to the reference one.
|
2012-08-20 16:23:11 +02:00 |
|
Matt Corallo
|
2aaa601293
|
Use signed 64-bit values for TransactionOutput.value.
The reference client (stupidly) does this, and we were incorrectly
de-serializing values from the reference client.
|
2012-08-20 16:23:11 +02:00 |
|
Matt Corallo
|
8cd9cc11a4
|
Make Script throw ScriptException instead of ArrayIndexOutOfBounds
...when an invalid PUSHDATA constant is used.
|
2012-08-20 16:23:11 +02:00 |
|
Matt Corallo
|
c5e62f16b0
|
Fix serialization of GetBlocksMessage
|
2012-08-20 16:23:11 +02:00 |
|
Matt Corallo
|
6f6a946967
|
Fix typo in comment in TransactionConfidence.java
|
2012-08-20 16:23:10 +02:00 |
|
Mike Hearn
|
e2108d922d
|
Close ByteArrayOutputStreams. Resolves issue 244.
|
2012-08-20 16:12:49 +02:00 |
|
Mike Hearn
|
6f6c5d6773
|
Add a toString overload on Wallet. Print private keys in WalletTool when available.
|
2012-08-20 16:01:19 +02:00 |
|
Mike Hearn
|
75e04174c4
|
Introduce a concept of "minimum peers for broadcast" to PeerGroup.broadcastTransaction. This can be used to make sending faster when you are bringing up the network in parallel. It defaults to half the max connections. The idea is to insulate you from slow remote peers somewhat.
|
2012-08-20 16:00:55 +02:00 |
|
Mike Hearn
|
8746dabcad
|
Rewrite wallet auto-saving to not require polling. Resolves bug 242.
|
2012-08-20 14:46:44 +02:00 |
|
Mike Hearn
|
9f036bff84
|
Mark as spent the outputs used by pending transactions. Resolves issue 243.
|
2012-08-20 14:46:00 +02:00 |
|
Miron Cuperman
|
c4304fe07d
|
Bring back PeerGroupThreadFactory
|
2012-08-03 16:49:45 -07:00 |
|
Mike Hearn
|
3560d18ea2
|
Don't increment maxConnections when using connectTo from the PeerGroup thread. Resolves issue 234.
|
2012-07-23 16:42:21 +02:00 |
|
Mike Hearn
|
bc3fbb1448
|
Make the added logging more compact.
|
2012-07-23 16:37:14 +02:00 |
|
Mike Hearn
|
912760830a
|
Add some more logging to the Peer class.
|
2012-07-23 14:50:13 +02:00 |
|
Mike Hearn
|
abc9f09db3
|
Ensure peer.eventListeners is always accessed under the peer lock, and switch to EventListenerInvoker in most places so listeners can remove themselves.
Resolves issue 210.
|
2012-07-22 02:00:30 +02:00 |
|
Mike Hearn
|
915a878a13
|
Also inform the wallet in the single peer case in broadcastTransaction.
|
2012-07-22 01:50:09 +02:00 |
|
Mike Hearn
|
5bae8ffe6c
|
Make PeerGroup.maxConnections fully synchronized.
|
2012-07-22 01:22:56 +02:00 |
|