Commit Graph

2043 Commits

Author SHA1 Message Date
Mike Hearn
d2865f93e6 doMaintenance: don't trigger signing if bool param is false, as an optimisation. 2014-10-22 22:24:24 +02:00
Mike Hearn
dd204fdbf5 Fix off by one in DKC.getKeys(false). Resolves #253 2014-10-22 22:24:14 +02:00
Mike Hearn
2c44957b6d 10x fee drop, now most miners seem to have upgraded to 0.9+ 2014-10-22 22:23:38 +02:00
Mike Hearn
61626447f2 Make basicCategoryStepTest independent of actual min fee level. 2014-10-22 22:23:25 +02:00
Mike Hearn
72f3900ca4 Key rotation: also unit test the creation time of a fresh key. 2014-10-22 22:19:59 +02:00
Mike Hearn
235478adb2 Add maybeDoMaintenance back as a deprecated alias. 2014-10-22 22:19:49 +02:00
Mike Hearn
4a97212240 Rename maybeDoMaintenance to doMaintenance and add a bit more docs. 2014-10-22 22:19:43 +02:00
Mike Hearn
d99a4f887b 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 22:19:36 +02:00
Mike Hearn
b333f19983 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 22:19:25 +02:00
Jarl Fransson
b879606d8c When deserializing client payment channel state, if there was an existing close transaction, it was deserialized from wrong data. 2014-10-22 22:19:05 +02:00
Peter Dettman
81eff264cf Improve Coin range check to cope with Long.MIN_VALUE correctly 2014-10-21 18:39:58 +02:00
Andreas Schildbach
ec306981e7 Replace two occurences of pom versions with ${project.version}. It makes incrementing the version a little bit less painful. 2014-10-21 18:38:57 +02:00
Andreas Schildbach
301f6c750d Sort keys by age when printing them. Also fix a generics warning. 2014-10-16 12:32:09 +02:00
eleetas
680221d577 Added check to determine if the DB connection has been closed. If yes, then get a new connection. 2014-10-16 12:30:57 +02:00
Andreas Schildbach
32f6c5f330 Fix one unexpected case of fiatToCoin overflow and add tests. 2014-10-16 12:30:49 +02:00
Andreas Schildbach
a23b018b22 Add missing JavaDocs for ExchangeRate. 2014-10-16 12:30:37 +02:00
Adam Mackler
f83c93b627 Add javadoc comment for VersionedChecksummedBytes.toString(). 2014-10-16 12:30:27 +02:00
Oscar Guindzberg
aed2816bad Add/Remove wallets to the connected peers as they are added/removed
to/from the PeerGroup
2014-10-16 12:30:18 +02:00
Andreas Schildbach
9bfcb80516 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-16 12:25:53 +02:00
Andreas Schildbach
f7a0979091 Fix duplicate 'BTC' in log message. 2014-10-16 11:54:50 +02:00
Mike Hearn
e0467da35c Suppress noisy log line that is duplicated by LocalTransactionSigner. 2014-10-16 11:54:18 +02:00
Mike Hearn
a5582461d7 Extend exception message to help track down flaky test. 2014-10-16 11:50:45 +02:00
Mike Hearn
6a3eaf31fe Suppress noisy log line during signing. 2014-10-16 11:50:10 +02:00
Mike Hearn
b5ac1d8a76 AUTHORS: Fix Martin's name. 2014-10-16 11:49:33 +02:00
Andreas Schildbach
bf52cc86bb Prepare 0.12.1-SNAPSHOT 2014-10-16 11:39:25 +02:00
Mike Hearn
83a9a71f3f bitcoinj 0.12 v0.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
Mike Hearn
6f22cba76f Maven changes to support auto upload of snapshot versions, better javadocs etc. 2014-10-02 14:22:25 +02:00
Mike Hearn
0914c82f69 Add package-info files for the javadocs. 2014-10-02 13:55:22 +02:00
Andreas Schildbach
6612e1e1ce Reduce spamminess of message telling us that a script flag isn't handled yet. 2014-10-02 13:47:24 +02:00
Andreas Schildbach
9e4043d9bb Change groupId of Orchid artifact to "org.bitcoinj". This makes uploads to Maven Central easier for us. 2014-10-01 20:27:01 +02:00
Mike Hearn
4172bbcbe1 Script: Add MAX_P2SH_SIGOPS constant. 2014-10-01 16:21:08 +02:00
Mike Hearn
596f7cff04 Add a ScriptChunk.decodeOpN method. 2014-10-01 15:54:55 +02:00
Mike Hearn
ba4aeff2a5 Script: expose execute publicly 2014-10-01 15:54:42 +02:00
Mike Hearn
a8f85d1158 DefaultRiskAnalysis: extract output testing into a separate method also, and add a (presently unused) new rule violation type. 2014-10-01 15:54:31 +02:00
Mike Hearn
5fc98d2c07 Extract input standardness check into a separate callable method. 2014-10-01 14:14:34 +02:00
Mike Hearn
c5a564e152 Make the ScriptBuilder API a bit more flexible and better documented. 2014-10-01 14:14:15 +02:00
Mike Hearn
1da4002a4b Fix toString in payment channels for Coin conversion 2014-09-30 18:26:36 +02:00
Mike Hearn
9c12d73d12 Fix build 2014-09-30 18:24:19 +02:00
Mike Hearn
0a6f901b23 Renamespace to org.bitcoinj away from com.google.bitcoin, as bitcoinj is no longer a Google project and being namespaced under com.google causes issues with Sonatype/Maven Central.
To fixinate your code:

find . -name '*.java' | xargs sed -i .bak 's/import com.google.bitcoin./import org.bitcoinj./g;s/import static com.google.bitcoin./import static org.bitcoinj./g'
2014-09-30 17:05:07 +02:00
Giannis Dzegoutanis
48de05ac0f Separate Transaction and Wallet classes 2014-09-30 15:41:13 +02:00
Mike Hearn
014f6ff22c Add more names to the AUTHORS file. 2014-09-30 15:40:29 +02:00
Mike Hearn
8240f0c312 Add a Python/Jython version of the getting started tutorial, thanks to Richard Green. 2014-09-30 15:38:44 +02:00
Giannis Dzegoutanis
0ccb608c7e fix issue where using an empty seed or entropy value, MnemonicCode does not throw the appropriate exception 2014-09-30 14:43:43 +02:00
Martin Zachrison
036f0bec27 Make PaymentChannel.ServerConnection.paymentIncrease asynchronous. 2014-09-30 14:34:54 +02:00
Adam Mackler
798c341eb1 Change HD-Key path notation to reflect BIP-32. 2014-09-30 14:22:28 +02:00
Giannis Dzegoutanis
a6613f9b9b better handle NetworkParameters in Address to allow other kind of networks 2014-09-30 14:17:31 +02:00
Mike Hearn
e9204fd196 HD Wallets: final part needed before release.
If a key is seen in a filtered block that is too far inside our lookahead zone, discard that block and any further blocks being sent to us by a remote peer and recalculate the Bloom filter after more keys are pre-calculated. Then restart the chain download process. This ensures that we can catch up/replay the block chain and keep up with the deterministic key sequence.
2014-09-23 15:01:22 +02:00
Mike Hearn
c24ede14a8 Add shade plugin to wallettemplate 2014-09-23 14:40:35 +02:00
Mike Hearn
bc0c9da33c WalletTemplate: Small visual tweaks 2014-09-22 20:07:56 +02:00