3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 10:45:51 +00:00

2884 Commits

Author SHA1 Message Date
Andreas Schildbach
7b0641e271 Fix misleading comment about the difficulty adjustment interval. 2016-09-30 17:45:20 +02:00
Andreas Schildbach
266eddca37 DeterministicKeyChain: Include parent keys in toString(). 2016-09-29 16:02:19 +02:00
Andreas Schildbach
a34f41e287 ECKey: If deriving the private keys fails in toString(), print the exception to the message rather than throwing. 2016-09-29 16:01:57 +02:00
Andreas Schildbach
93e5f7c57b SPVBlockStore: Use Charset constant. 2016-09-28 17:44:53 +02:00
Andreas Schildbach
ea7ea3b304 SPVBlockStore: Add constructor for a custom capacity block store. 2016-09-28 17:43:27 +02:00
Andreas Schildbach
aabedaeb8d SPVBlockStore: Rename numHeaders to capacity. 2016-09-28 17:38:19 +02:00
Andreas Schildbach
b70549a5ff SPVBlockstore: Rename NOT_FOUND_MARKER and make it private. 2016-09-28 17:38:19 +02:00
ScripterRon
175aea997d Catch AccessControlException in Secp256k1Context initialization 2016-09-28 17:25:26 +02:00
Jonathan Cross
41a769aa29 Typo: faling => failing 2016-09-26 18:14:14 +02:00
Andreas Schildbach
a7cad0ede4 Update to OkHttp 2.7.5. 2016-09-06 15:28:41 +02:00
Jon Griffiths
3b9a136eca
Fix the comment for PeerGroup.getPingIntervalMsec() 2016-08-28 02:29:02 +12:00
Andreas Schildbach
faf8d7fabf Refresh bundled checkpoints. 2016-08-27 12:11:31 +02:00
Oscar Guindzberg
00c03e1c05 TransactionInput.disconnect() - make it work for UTXO based wallet 2016-08-26 18:26:13 +02:00
Oscar Guindzberg
0566917a8f Make UTXO serializable 2016-08-25 21:37:46 +02:00
Jon Griffiths
cbe57555b2 Expose the DeterministicKey ctors used by serialisation
These ctors are the only way to construct a key without a parent
but with a depth that matches the path passed in. The ctors taking
parents set the depth to 0 when parent is null. Whether this is
desirable is not clear; exposing the other ctors seems a lower risk
change given the comments in this file that detail support for depth
not matching the path length.

The use case for this change is interfacing with APIs that allow
derivation of children from a path without returning the intermediate
keys. In this case we have no parent to pass to the ctor but we want
to create a correct DeterministicKey for interop with the rest of bitcoinj.
2016-08-25 10:41:23 +02:00
Andreas Schildbach
5883cf9ddb Always use utility method in KeyCrypterScrypt for determining the scrypt salt. 2016-08-23 23:10:46 +02:00
Andreas Schildbach
55fe6fe6c9 KeyCrypterScrypt: Bump up recommendation for number of iterations on mobile devices. 2016-08-19 22:41:58 +02:00
Andreas Schildbach
9c9e3a9744 KeyCrypterScrypt: Log time taken for deriving key from password. 2016-08-19 22:28:50 +02:00
Andreas Schildbach
d876ea9d34 WalletTest: Remove redundant logging. 2016-08-17 21:29:21 +02:00
Andreas Schildbach
a22b5d6634 Add transaction confidence back to Wallet.toString().
When working with Wallet objects, you should use Context too.
2016-08-17 15:01:11 +02:00
Eric Winer
05a4f5b2a4 Transaction: Remove confidence (and Context requirement) from Transaction.toString() 2016-08-17 08:45:47 -04:00
cyberzac
2e0e81d3a2 Payment channels: Added ClientChannelProperties and ServerChannelProperties to allow configuration of the channels. 2016-08-12 09:48:59 +02:00
Andreas Schildbach
7e3dbd5f5d Peer: Log fast catchup time and height of first block to pass it. 2016-08-11 22:14:06 +02:00
Andreas Schildbach
af0d2042d8 Transaction: Print update time in toString(). 2016-08-11 22:14:06 +02:00
Andreas Schildbach
5829b32535 Wallet: In wallet transactions dump, reformat value line. 2016-08-11 22:14:06 +02:00
Andreas Schildbach
a772addc25 TransactionConfidence: Print lastBroadcastedAt in toString(). 2016-08-11 22:14:06 +02:00
Andreas Schildbach
4398745565 Add an AbstractBitcoinNetParams.isRewardHalvingPoint(int height) method. 2016-08-11 22:14:06 +02:00
Andreas Schildbach
2e4d64876d Make AbstractBitcoinNetParams.isDifficultyTransitionPoint(int height) public. 2016-08-11 22:14:06 +02:00
Andreas Schildbach
67c3d4d0e2 KeyCrypterScrypt: Print Scrypt iterations in toString(). 2016-08-11 22:14:06 +02:00
Andreas Schildbach
8c0cfaeee7 Clean up some line endings. 2016-08-11 22:14:06 +02:00
Greg Laun
b3bb2c53c9 DatabaseFullPrunedBlockStore, MySQLFullPrunedBlockStore: Fix spelling. 2016-07-18 17:37:47 -04:00
Oscar Guindzberg
82ae8088de Disable retargeting for regtest 2016-07-03 19:09:38 +02:00
Oscar Guindzberg
17aa1bdaa8 WalletAppKit: Checkpoints doc link 2016-07-03 19:07:45 +02:00
Andreas Schildbach
8bd47a6c6d TestFeeLevel: Print wallet balance and receive address earlier. 2016-06-15 10:35:37 +02:00
Andreas Schildbach
0d0358fe92 TestFeeLevel: Adapt to fee rate (per kB). 2016-06-15 10:35:37 +02:00
Andreas Schildbach
f416dec2ea Wallet: Fix precondition for transaction confidence of transactions in the pending pool. They can now also be IN_CONFLICT. 2016-06-08 14:23:27 +02:00
Andreas Schildbach
736fd7dbde Add the generic license header to POMs, shell scripts and JavaScript/Python examples. 2016-06-06 21:32:02 +02:00
Andreas Schildbach
e99d983497 Replace "The bitcoinj developers" copyright statement by the generic statement. There is no such legal entitiy. 2016-06-06 21:32:02 +02:00
Andreas Schildbach
3773a4343c Add a generic copyright statement to all license headers that don't have one.
Note it is not legally necessary to state copyright, but we think it makes things easier.
2016-06-06 21:32:02 +02:00
johnygeorge
f33432febd ScriptBuilder: Make OP_RETURN to allow 80 bytes.
Make OP_RETURN to allow 80 bytes instead of the previous 40 bytes.

This is to be consistent with the Bitcoin Core, which have made it back to 80 bytes.
2016-06-06 21:30:34 +02:00
dcw312
e61eb107dc BuildCheckpoints: Use a peer group for the Prod and Test networks. 2016-06-06 21:23:56 +02:00
Andreas Schildbach
85e6a3438a Wallet.setTransactionBroadcaster(): Error message for precondition. 2016-06-04 11:42:46 +02:00
Andreas Schildbach
60dce2f1e3 Peer: Change getVersionHandshakeFuture() return type back to ListenableFuture<Peer>. 2016-05-31 08:37:40 +02:00
Andreas Schildbach
206f04784f Fix wrong balance calculation if identical (apart from the index) outputs are involved.
This regression was triggered by a53b508049d0febf59dfd3f7e5d75776a0b3f7a8, though before that change it only worked by luck.
2016-05-25 23:22:30 +02:00
dcw312
6230d01e7b H2FullPrunedBlockStore: Fix issue #1260: the h2 prefix and params are prepended twice using this constructor. Only prepend when calling the super constructor. 2016-05-18 15:59:23 +02:00
Andreas Schildbach
c37fe88952 Bump of orchid version to 1.2.1, which is necessary because we accidently pushed an incomplete version 1.2 to Maven Central last year. 2016-05-18 10:21:18 +02:00
Andreas Schildbach
8e00564f4e Remove Mike's httpseed as he plans to shut it down. 2016-05-08 17:13:53 +02:00
Andreas Schildbach
dfd7c826d3 Block: Improve message of VerificationException that is thrown when a blocks time is too far in the future. 2016-05-06 11:17:29 +02:00
Andreas Schildbach
01890c563c Transaction: Rework JavaDoc of the addInput() variants. 2016-05-06 10:27:04 +02:00
Matthew Shaylor
0b3cc9c59f Replace URLs to code.google.com by the appropriate GitHub URLs. 2016-04-19 23:15:37 +02:00