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

2516 Commits

Author SHA1 Message Date
Andreas Schildbach
783dfc58d1 Remove Java serialization from...
* NetworkParameters,
* the entire Message hierarchy,
* Block,
* StoredBlock,
* StoredUndoableBlock,
* TransactionConfidence,
* UTXO,
* DeterministicHierarchy,
* MemoryFullPrunedBlockStore,
* KeyCrypterScrypt and
* Wallet

It was largely untested, in many cases not working any more and we don't see a reason for supporting it.
2015-07-23 16:27:25 +02:00
Andreas Schildbach
5c2eaf2654 Make Travis not run any tests that involve accessing the network. 2015-07-23 14:26:04 +02:00
Mike Hearn
551d01a625 BlockingClient: make it easier to manually start a read/write loop. 2015-07-22 22:27:19 +02:00
Andreas Schildbach
12f3d2dbca Remove Java serialization from the ECKey hierarchy. It was broken for some time anyway (LazyECPoint). 2015-07-22 14:21:34 +02:00
Andreas Schildbach
230421484c ExchangeRate: Implement equals/hashCode and add a test for Java serialization. 2015-07-22 11:58:06 +02:00
Devrandom
4411eb8702 Don't derive private keys just to check if they exist 2015-07-21 09:38:17 +02:00
Kalpesh Parmar
a293b09ef5 MySQL data type fixed. Changed binary to varbinary. 2015-07-20 12:30:35 +01:00
Andreas Schildbach
0441b38599 Provide a consistent fromBase58/toBase58 API for the VersionChecksummedBytes hierarchy.
Deprecates the old constructors and migrates bitcoinj itself to use the new API. Also makes DumpedPrivateKey use WrongNetworkException when appropriate. Adds missing testcases and corrects/adds a bit of JavaDoc.
2015-07-18 13:53:59 +02:00
Andreas Schildbach
4112ed8005 Fix last remaining occurences of 'BitCoin' and 'BitCoinJ'. 2015-07-17 00:55:18 +02:00
Andreas Schildbach
af1931db6e BIP38PrivateKey: Fix Java serialization. 2015-07-16 23:02:42 +02:00
Andreas Schildbach
b1402afe9a Address: Fix Java serialization and add serialization test case. 2015-07-16 14:26:48 +02:00
Andreas Schildbach
8db92ede3b Don't auto-release artifacts after uploading to Nexus. 2015-07-15 09:12:21 +02:00
Andreas Schildbach
892b8f88da Update AUTHORS from git. It has become too tedious to track this manually. 2015-07-14 16:29:57 +02:00
Mike Hearn
a52c8669a4 WalletFiles: use a ContextPropagatingThreadFactory instead of propagating the context explicitly.
Fixes bug found by devrandom
2015-07-14 13:15:45 +02:00
Mike Hearn
1352264e86 ContextPropagatingThreadFactory: more features 2015-07-14 13:15:45 +02:00
Mike Hearn
488b934b96 Context: don't throw if the TLS slot is already set. 2015-07-14 13:15:45 +02:00
Andreas Schildbach
13531d98a8 Tell Travis we don't need sudo so we can run on a more modern build infrastructure. 2015-07-14 11:32:57 +02:00
Andreas Schildbach
df5c4091c7 Wallet protobuf serialization for RAISE_FEE transaction purpose. 2015-07-14 10:51:38 +02:00
Andreas Schildbach
c7b2dc3ff0 Add RAISE_FEE to transaction purposes. 2015-07-13 20:09:48 +02:00
Andreas Schildbach
2483d10ad3 TestFeeLevel: Make number of ouputs configurable by tweaking a constant. 2015-07-11 20:23:58 +02:00
Andreas Schildbach
9f55692c04 Update checkpoints. 2015-07-10 11:51:52 +02:00
Mike Hearn
da20b02906 Implement special priority tx size calculation. 2015-07-09 15:07:09 +02:00
Andreas Schildbach
621975556c TestFeeLevel: Create transactions with two outputs (and thus most of the time two inputs). This is more close to standard wallet transactions. 2015-07-09 11:27:41 +02:00
Mike Hearn
49ac4ac2ad CheckpointManager: expose a static method to get the checkpoint stream 2015-07-09 00:36:41 +02:00
Mike Hearn
95bfa40630 Peer: allow setting the includeMempool flag 2015-07-09 00:36:41 +02:00
Mike Hearn
748f7a53e0 GetUTXOsMessage: serialize the includeMempool flag 2015-07-09 00:36:41 +02:00
Andreas Schildbach
eab413c814 Guava: migrate deprecated use of Objects to MoreObjects. 2015-07-08 19:18:58 +02:00
Amichai Rothman
efd95f0542 Clean up Base58 implementation and improve its documentation. 2015-07-07 15:50:28 +02:00
Amichai Rothman
9219d8a9b5 Simplify and standardize equals/hashCode/compareTo implementations. 2015-07-07 15:38:04 +02:00
Amichai Rothman
a53b508049 Fix various bugs and documented unintuitive/suspicious behavior in equals/hashCode/compareTo implementations. 2015-07-07 15:37:58 +02:00
Carsten Otto
abffd1927e Disable warnings for generated classes. 2015-07-07 13:05:22 +02:00
Peter Dettman
3c9d1c5506 Fix consistency issues with equals/hashCode in LazyECPoint 2015-07-06 10:16:43 +02:00
Andreas Schildbach
ce58f6945f Upgrade to Guava 18.0. 2015-07-06 10:03:31 +02:00
Andreas Schildbach
24de5e2a40 0.14-SNAPSHOT 2015-07-06 09:54:04 +02:00
Carsten Otto
e2571729a9 Inline (fake) constant to only method using it.
Due to cyclic dependencies (NetworkParameters vs. Coin) MAX_SATOSHIS
cannot be made a true constant.
2015-07-05 14:26:04 +02:00
Amichai Rothman
e148e9e052 Fix another peerTimeoutTest failure mode. 2015-07-05 13:39:41 +02:00
Carsten Otto
213efd53ab Remove redundant type information. 2015-07-05 13:36:36 +02:00
Carsten Otto
fb75bb4c63 Rename variable. 2015-07-05 13:36:20 +02:00
Carsten Otto
aadafdc6c9 Use singletonList. 2015-07-05 13:36:04 +02:00
Carsten Otto
ba468dd775 Make constant. 2015-07-04 21:47:53 +02:00
Carsten Otto
467356526e Provide size of array. 2015-07-04 21:45:15 +02:00
Carsten Otto
3e78d89cac Remove empty @return annotation. 2015-07-04 21:31:51 +02:00
Carsten Otto
daace1dec1 Fix javadoc link errors. 2015-07-04 21:31:49 +02:00
Carsten Otto
2e4fde0991 Upgrade jacoco version.
Jacoco 0.7.5 introduces a new binary format, see:
https://github.com/jacoco/jacoco/pull/310
https://github.com/jacoco/jacoco/pull/261
2015-07-04 21:26:04 +02:00
Carsten Otto
e311a3604e Remove unused field. 2015-07-04 21:04:25 +02:00
Carsten Otto
a1c0e00c5f Convert to local variables. 2015-07-04 21:04:19 +02:00
Carsten Otto
dbda2b9280 Remove useless casts. 2015-07-04 20:47:08 +02:00
Carsten Otto
c3c2916151 Remove useless math like >> 0. 2015-07-04 20:41:14 +02:00
Carsten Otto
b736b4f7b0 remove redundant modifiers 2015-07-04 18:40:24 +02:00
Mike Hearn
25c4554760 ConnectionHandler: don't leak nioConnectionHandler lock on an exception path. Probably fixes #1009 2015-07-02 18:48:35 +02:00