3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-01 07:42:17 +00:00
Commit Graph

2366 Commits

Author SHA1 Message Date
Mike Hearn
9fa4afb5fe Fix WalletTemplate now that checkpoints are included. 2014-10-22 21:51:34 +02:00
Mike Hearn
bb138e70c3 Key rotation: also unit test the creation time of a fresh key. 2014-10-22 20:03:15 +02:00
Mike Hearn
1a55f8d2d5 Add maybeDoMaintenance back as a deprecated alias. 2014-10-22 19:43:16 +02:00
Mike Hearn
ea02436f96 Rename maybeDoMaintenance to doMaintenance and add a bit more docs. 2014-10-22 19:32:51 +02:00
Mike Hearn
ea7c29e38b Key rotation: construct new HD chain based on the oldest possible key, a la upgrade, with a fresh random HD chain only being created if all random keys are rotating. 2014-10-22 19:32:51 +02:00
Mike Hearn
77ace479d9 Key rotation: remove the enabled setting. It's no longer useful and defaulted to off, which is dangerous and can lead to bugs. 2014-10-22 19:32:51 +02:00
Jarl Fransson
db519475b2 When deserializing client payment channel state, if there was an existing close transaction, it was deserialized from wrong data. 2014-10-21 13:41:02 +02:00
langerhans
5f1703a97f Fix monetary format tests 2014-10-20 20:46:11 +02:00
langerhans
5e75c2a746 Fix coin tests 2014-10-20 20:08:25 +02:00
langerhans
0a5c51429c Fix address tests 2014-10-20 19:42:13 +02:00
langerhans
bcbd9e0bab Update the README 2014-10-19 22:32:39 +02:00
langerhans
01c6d6f8a9 Fix the tools 2014-10-19 22:23:08 +02:00
langerhans
5f16d915ea fix peer monitor 2014-10-18 22:47:19 +02:00
langerhans
7219e746ac Additional small scale core changes 2014-10-18 21:56:49 +02:00
langerhans
3070012f4e Step 4: Core changes, including difficulty, auxpow and fee calculation 2014-10-18 21:52:53 +02:00
langerhans
dc689369f8 Step 3: Update the network params 2014-10-18 20:39:05 +02:00
langerhans
ac896faac9 Remove Bitcoin peers 2014-10-18 20:05:21 +02:00
langerhans
cda772d8ec Step 2: Move and refactor packages 2014-10-18 20:02:01 +02:00
langerhans
38b89b1e3d Update pom once more 2014-10-18 20:01:33 +02:00
langerhans
1243a4fb6a Update orchid hash 2014-10-18 19:57:58 +02:00
langerhans
e73ff6b53c Step 1: Update pom descriptors 2014-10-18 19:16:39 +02:00
Peter Dettman
bb368c9543 Improve Coin range check to cope with Long.MIN_VALUE correctly 2014-10-17 16:36:29 +02:00
ollekullberg
f40785fbdf ExamplePaymentChannelClient should not send PeerGroup to the extension, since it uses WalletAppKit. 2014-10-17 11:17:11 +02:00
Andreas Schildbach
b3f19ee0fc Replace two occurences of pom versions with ${project.version}. It makes incrementing the version a little bit less painful. 2014-10-16 15:30:32 +02:00
Andreas Schildbach
0af58eb9bb VarInt patch by "bake3978", taken from https://code.google.com/p/bitcoinj/issues/detail?id=582
Deleted unnecessary codes; long val; ... val = first; ... this.value = val; -> this.value = first;
2014-10-16 14:39:45 +02:00
Andreas Schildbach
98cc6adfc2 Sort keys by age when printing them. Also fix a generics warning. 2014-10-15 14:21:21 +02:00
eleetas
8936338059 Added check to determine if the DB connection has been closed. If yes, then get a new connection. 2014-10-14 11:09:01 -07:00
Andreas Schildbach
ca2a9ed8f1 Fix one unexpected case of fiatToCoin overflow and add tests. 2014-10-12 19:25:52 +02:00
Andreas Schildbach
8c99e61e01 Add missing JavaDocs for ExchangeRate. 2014-10-12 19:11:04 +02:00
Adam Mackler
1a476af542 Overload HD Key deserialization methods with single-argument versions that use a null parent. 2014-10-10 14:31:49 +02:00
Adam Mackler
b37c87c7af Add javadoc comment for VersionedChecksummedBytes.toString(). 2014-10-10 14:31:35 +02:00
Oscar Guindzberg
2010614fd6 Add/Remove wallets to the connected peers as they are added/removed
to/from the PeerGroup
2014-10-09 14:05:16 -03:00
Mike Hearn
a24f5cb5ba PeerGroup improvements:
1) Don't hold the PeerGroup lock across DNS discovery, otherwise the API is high latency in this period of startup. Fixes issue in Lighthouse where the UI would not appear until DNS resolution had completed.

2) Don't backoff peers that failed due to a first-time connection error.

3) If an IPv6 peer fails to connect due to a NoRouteToHostException, don't try any more IPv6 peers in future.
2014-10-09 13:11:32 +02:00
Andreas Schildbach
113d7bc445 Fix duplicate 'BTC' in log message. 2014-10-07 23:51:54 +02:00
Mike Hearn
4b65e37914 Focus the password field. 2014-10-07 22:38:09 +02:00
Mike Hearn
c9830cca52 Change TransactionConfidence.getBroadcastBy() to return a set instead of a list iterator. The latter form is not very convenient. 2014-10-07 19:26:10 +02:00
Mike Hearn
059b2679a7 Suppress noisy log line that is duplicated by LocalTransactionSigner. 2014-10-07 16:14:06 +02:00
Devrandom
38344465f0 Cleanup DKC serialization 2014-10-07 15:39:04 +02:00
Devrandom
22f0600afe Refactor married keychains
* move handling of following keychains into the leading keychain
* move multisig threshold into the leading keychain
* extract MarriedKeyChain from DeterministicKeyChain
2014-10-07 15:39:04 +02:00
Mike Rosseel
be496b95a3 Implement better support for multiple peer discoveries. Resolves issue 302. 2014-10-07 15:33:58 +02:00
Adam Mackler
2834b7730f Don't fail when deserializing a parentless HD key having depth greater than one.
Currently, deserializing an HD key will fail if both (1) the parent object is null, and
(2) the hierarchy depth is greater than one.  This patch changes that; rather than
throwing an exception, the parent is considered to be the root of the deterministic hierarchy.
2014-10-07 15:27:49 +02:00
Mike Hearn
cc8925ed0f Integrate checkpoints into WalletAppKit so they're used by default in the non-Android context. 2014-10-07 15:16:39 +02:00
Mike Hearn
99de477c0d Extend exception message to help track down flaky test. 2014-10-07 13:47:02 +02:00
Sebastian Ortega
42f9d7c193 Use daemon threads on FullPrunedBlockChain
This way, the thread pool used to run the transaction scripts won’t
prevent applications from exiting.
2014-10-07 12:01:00 +02:00
Mike Hearn
83995e9284 Suppress noisy log line during signing. 2014-10-06 13:57:45 +02:00
Mike Hearn
4a27afaac0 Clear static analysis warning: null check is useless at this point. 2014-10-06 13:57:37 +02:00
Mike Hearn
c3b52f54c3 AUTHORS: Fix Martin's name. 2014-10-05 20:38:31 +02:00
Mike Hearn
9dcc4ed6f4 0.13-SNAPSHOT 2014-10-05 20:38:00 +02:00
Mike Hearn
83a9a71f3f bitcoinj 0.12 2014-10-03 00:46:31 +02:00
Mike Hearn
953625de9b Add a couple of JavaScript examples. 2014-10-02 16:19:44 +02:00