Oscar Guindzberg
d5f47f37d3
Allow building a MarriedKeyChain with a watchingKey
2015-01-27 16:33:05 +01:00
Mike Hearn
068da489ef
WalletAppKit/SPVBlockStore: release the file lock explicitly when closing, as otherwise apps that try to shut down the store then delete the file can crash on Windows.
2015-01-22 18:09:07 +01:00
Mike Hearn
a698c5846e
Peer: invoke disconnection handlers on timeout even if we didn't successfully connect yet.
2015-01-21 16:45:03 +01:00
Mike Hearn
2138c8aec4
PeerGroup: log connected/pending/max in handlePeerDeath too
2015-01-21 16:44:35 +01:00
Mike Hearn
33228cdb19
Bump the number of max peers to 12 by default instead of 4, as we're seeing more tx broadcast flakyness from the network these days. Also use 80% of max peers as the number to wait for before tx broadcast instead of half.
2015-01-21 16:23:50 +01:00
Mike Hearn
46344dd0b1
PeerGroup: fix the IPv6 routing failure detection which was broken by a recent change and improve logging in a bunch of places.
2015-01-21 16:22:46 +01:00
Mike Hearn
b9cf28d358
TransactionBroadcast: Better logging
2015-01-21 15:48:59 +01:00
Mike Hearn
101ad83906
Make KeyCrypterScrypt.randomSalt() public.
2015-01-17 15:01:52 +01:00
Sean Gilligan
3456e896ec
Make Address (& super & subs) Cloneable
...
* Implement Cloneable in VersionedChecksummedBytes
* Override clone() in VersionedChecksummedBytes
* Override clone() in Address
* Add Unit test file for VersionedChecksummedBytes
* Add clone unit tests for clone for all subclasses
of VersionedChecksummedBytes
TODO: Consider overriding clone() in DumpedPrivateKey and
BIP38PrivateKey
2015-01-16 19:54:22 +01:00
Oscar Guindzberg
336b0f6aa2
Fix typo
2015-01-16 11:32:05 -03:00
Mike Hearn
8863cd5afd
Refresh checkpoints
2015-01-12 16:53:20 +01:00
Mike Hearn
b069ffd312
BriefLogFormatter: Add an initWithSilentBitcoinJ method.
2015-01-12 16:50:59 +01:00
Mike Hearn
d7118d524e
Threading: print fewer warnings of excess closure buildup. We should really use a rate limiter here.
2015-01-12 16:44:10 +01:00
Mike Hearn
5f07f98c05
WAK: Don't add dns discovery for regtest mode.
2015-01-12 16:43:44 +01:00
Mike Hearn
d9537b8ea9
Wallet: minor style fixies
2015-01-12 16:43:25 +01:00
Mike Hearn
bde0df8e1c
Peer: better logging for reject messages
2015-01-12 16:43:13 +01:00
Mike Hearn
6efa8a4fac
PeerGroup: Don't rethrow a runtime exception and kill the peer if a broadcast takes an exception, this can occur if there is a reject message.
2015-01-10 00:51:48 +01:00
Mike Hearn
7970b52504
PeerGroup: Locking fix in newly added method. A bit more logging.
2015-01-10 00:51:00 +01:00
Mike Hearn
11463e729f
Add a feature to PeerGroup that lets you find/wait for peers that match a certain mask, similar to those methods that exist for peer versions.
2015-01-09 15:17:56 +01:00
Mike Hearn
b984124ce2
Add javadocs to GetUTXOsMessage and add the service mask required for the feature.
2015-01-09 15:17:28 +01:00
Mike Hearn
59c1f23931
Adjust getutxo min protocol version.
2015-01-08 18:35:19 +01:00
Mike Hearn
57bbb9152b
Give regtest a payment protocol ID too.
2015-01-08 18:35:11 +01:00
Mike Hearn
e09e383007
Give unit test params a payment protocol ID.
2015-01-07 17:23:02 +01:00
Mike Hearn
0b5b101343
Abstract out multiplexing from DnsDiscovery.
2015-01-07 16:43:57 +01:00
Andreas Schildbach
f36576ce29
WalletAppKit to use new Wallet.reset().
2015-01-06 15:02:11 +01:00
Andreas Schildbach
2fa5ba30e2
DefaultRiskAnalysis.isStandard checks for signatures to use canonical DER encoding. Adds a test.
2015-01-02 21:00:11 +01:00
Andreas Schildbach
121d2fcb63
Change the WatchMempool pool to build statistics about risk analysis. Removes the pay-to-pubkey detection which was in there.
2015-01-02 17:30:24 +01:00
Andreas Schildbach
e8e13de4d4
Restrict access to ECKey.CURVE_PARAMS. The field is almost redundant. Parameters can be fetched from ECKey.CURVE as well.
2015-01-02 17:29:46 +01:00
Andreas Schildbach
17071ce15c
Extract ECDSASignature.isCanonical() which checks for BIP62 low S value. Adds a test.
2015-01-02 17:29:17 +01:00
Andreas Schildbach
18c63a703f
When connecting outputs to inputs, cache its value in the input. This will make sure the fee is also known after a blockchain replay.
2015-01-01 19:53:13 +01:00
Andreas Schildbach
4d3297d334
Add Wallet.reset() to prepare the wallet for a blockchain replay.
2015-01-01 19:50:55 +01:00
Adam Mackler
e77089f739
NPE when invoking PeerGroup.broadcastTransaction()
on peer group with no block chain.
...
The modified line here seems to have been assuming that `pinnedTx` was being
initialized elsewhere, but it wasn't.
2014-12-28 07:17:43 -05:00
Andreas Schildbach
1fae7cadc9
Add creationTimeSeconds to wallet dump.
2014-12-23 18:18:50 +01:00
Mike Hearn
f82f160c2c
PeerGroup: configure peer as download peer even when there is no chain, but don't configure download params as that would trigger block fetch.
2014-12-21 14:03:13 +01:00
Mike Hearn
2b6db0dc80
Add an experimental HTTP based peer discovery engine that uses signed gzipped protocol buffers.
2014-12-19 02:30:58 +01:00
Mike Hearn
483f9b50e6
WalletAppKit: allow customisation of the peer discovery engine.
2014-12-19 02:29:44 +01:00
Mike Hearn
211966b17b
ECKey: add throwing variants of the verify methods. Can help avoid mistakes when ignoring the result of verify.
2014-12-19 02:29:23 +01:00
Mike Hearn
b00930efcd
ECKey: clarify name of parameter
2014-12-19 01:53:16 +01:00
Mike Hearn
92e28bb516
Quieter logging in ConnectionHandler
2014-12-18 14:17:04 +01:00
Mike Hearn
4a4691596b
NioClientManager: change logging levels
2014-12-18 14:01:47 +01:00
Mike Hearn
2967e07c8b
Change how DownloadProgressTracker waits for progress to avoid possible deadlocks.
2014-12-18 13:59:50 +01:00
Mike Hearn
b25899de58
Rename DownloadListener to DownloadProgressTracker
2014-12-18 13:59:50 +01:00
Andreas Schildbach
36850b1d0e
Add warning about randomly generated keys to Wallet constructor.
2014-12-18 13:32:24 +01:00
Andreas Schildbach
89c53a8f8e
Add Wallet.fromKeys(). Creates a wallet containing a given set of keys. All further keys will be derived from the oldest key.
2014-12-18 13:32:24 +01:00
Mike Hearn
ae585608e6
ClientConnectionManager.openConnection now returns a future. Some logging about connection failures was removed.
2014-12-18 02:23:21 +01:00
Mike Hearn
200dc1294c
Peer: Fix some more crashes that can occur when operating without a blockchain object
2014-12-17 19:23:13 +01:00
Mike Hearn
c18423fde3
Peer: utility for requesting addr data
2014-12-17 18:58:32 +01:00
Mike Hearn
54edb541a2
Peer: Add a convenience accessor
2014-12-17 18:58:16 +01:00
Mike Hearn
9025a65334
Block tester: Bring back UTXO rules when the local node supports them
2014-12-17 01:23:46 +01:00
Mike Hearn
aed7c438ea
DatabaseFullPrunedBlockStore: more detailed error message
2014-12-17 01:23:46 +01:00