Commit graph

3280 commits

Author SHA1 Message Date
Matthew Leon
de8a1f755b Avoid use of deprecated Throwables.propagate(). 2019-03-25 09:53:15 +01:00
Matthew Leon
89fd7a89ce KeyCrypterScrypt: Migrate AESFastEngine to AESEngine.
AESFastEngine raises a deprecation warning. See https://nvd.nist.gov/vuln/detail/CVE-2016-1000339
2019-03-24 12:08:38 +01:00
Andreas Schildbach
83b1e44d7d settings.gradle: Prefix project names by 'bitcoinj-'. 2019-03-24 10:34:23 +01:00
Tim Strasser
1975892416 Add tests for BtcFixedFormat. 2019-03-24 10:20:53 +01:00
Tim Strasser
3c405931f8 Add test for DnsDiscovery. 2019-03-24 10:19:40 +01:00
Premek
9267e7178d Peer: Disconnect peers that doesn't send announced transactions.
This is to prevent a memory leak of pendingTxDownloads.
2019-03-22 23:23:35 +01:00
Oscar Guindzberg
89efe3d47e PeerGroup: Don't stop peer discovery if one peer discoverer throws an exception. 2019-03-22 23:07:27 +01:00
Oscar Guindzberg
8931c58dca PeerGroup.addAddress(): Don't increase max connections if address already exists. 2019-03-22 22:20:20 +01:00
Andreas Schildbach
0ea885fa10 BitcoinURI: Allow uppercase schema. 2019-03-22 21:37:47 +01:00
Andreas Schildbach
db51bb257c Use plain Gradle console for running any of the tools. 2019-03-20 22:30:09 +01:00
Andreas Schildbach
a67f54cd0c KeyChainGroup: Fix NullPointerException in findRedeemDataFromScriptHash() if no deterministic keychain is in the group. 2019-03-19 18:02:27 +01:00
Andreas Schildbach
3311ad8cdd Wallet: Fix handling of wallet without deterministic chains in checkForFilterExhaustion(). 2019-03-19 17:54:45 +01:00
Andreas Schildbach
561bc1d31b Wallet: Fix NullPointerException in isRequiringUpdateAllBloomFilter() when calculating the filter for a basic wallet. 2019-03-19 17:47:42 +01:00
Andreas Schildbach
0f811846c9 Transaction: In toString(), if an output is unconnected still print the outpoint. 2019-03-17 18:52:23 +01:00
Andreas Schildbach
4055e77ce9 Transaction: In toString(), if a script type is unknown just say so. 2019-03-17 18:50:57 +01:00
Andreas Schildbach
0f407cd67e SPVBlockStore: Explicitly release the store file lock. 2019-03-16 23:21:14 +01:00
Andreas Schildbach
23fddec3f8 Wallet: Fix logging in receivePending(). 2019-03-16 14:10:38 +01:00
liudongpo
6015c0b98d Block: Remove useless null check in writeTransactions(). 2019-03-14 11:39:48 +01:00
Oscar Guindzberg
c0be4df0d3 Replace tabs with spaces. 2019-03-14 01:28:37 +01:00
Andreas Schildbach
19fbc76e2f Don't use the Gradle daemon for running any of the tools. 2019-03-13 11:38:07 +01:00
liudongpo
e347664494 In the tests, change all assertTrue(Arrays.equals()) to assertArrayEquals(). 2019-03-12 10:10:33 +01:00
Premek
29f450b860 Peer: Disconnect remote peers which repeatedly don't respond to pings. 2019-03-11 18:49:08 +01:00
Stage
ce9801f7e3 LegacyAddressTest: Remove duplicate comparisonEqualTo() test. 2019-03-08 11:33:19 +01:00
Andreas Schildbach
6b77311277 Wallet: Fix crash when isAddressMine() is called with a P2SH or a P2WSH address. 2019-03-07 15:56:39 +01:00
Andreas Schildbach
b49d3e53ca Prepare 0.16-SNAPSHOT 2019-03-01 11:46:48 +01:00
Stage
3e91372c42 Context: Remove a dangling bracket in JavaDoc. 2019-02-28 16:29:57 +01:00
Andreas Schildbach
a2e2a3a5ae Peer, PeerGroup: Use 'ms' rather than 'msec' in logs. 2019-02-28 00:55:00 +01:00
Andreas Schildbach
bfafe01008 Peer.PendingPing: Make future final. 2019-02-28 00:52:45 +01:00
Andreas Schildbach
21a32b5604 MonetaryFormat: Add default format based on the Bitcoin symbol supported by Unicode 10.0. 2019-02-27 18:42:43 +01:00
Sean Gilligan
4daf6de1eb settings.gradle: If at least Java 11 and Gradle 4.10 are detected, wallet-template is being built again.
This also means wallet-template is under continuous integration by Travis again.
2019-02-26 11:56:32 +01:00
Andreas Schildbach
0be1008339 build.gradle: Exclude the same set of integration tests as we did for Maven.
This fixes the 'address already in use' error.
2019-02-25 21:11:51 +01:00
Sean Gilligan
4e52eb7c55 README.md: Add instructions for using Jitpack-powered SNAPSHOT builds. 2019-02-25 08:27:31 +01:00
Andreas Schildbach
81ddd50ffb build.gradle: Make protobuf-gradle-plugin use protoc from the repository.
This updates the protoc version to 3.6.1, fixing many warnings in the generated sources.
2019-02-23 23:27:48 +01:00
Andreas Schildbach
1d4c8e69eb Bech32.Bech32Data: Make immutable fields hrp and data publicly accessible. 2019-02-23 19:45:53 +01:00
Andreas Schildbach
3974b38bad .travis.yml: Run the JavaDoc again, so errors are exposed. 2019-02-22 12:17:44 +01:00
Sean Gilligan
fb8ac7bc6c PeerGroup, TransactionConfidence: Fix JavaDoc links. 2019-02-22 11:47:25 +01:00
Andreas Schildbach
19e083c017 Block: Add checkWitnessRoot() to verify the witness root. 2019-02-22 10:53:56 +01:00
Andreas Schildbach
b2fed78c09 Block: Add getWitnessRoot() to calculate the witness root hash, similar to the merkle root hash. 2019-02-22 10:53:38 +01:00
Andreas Schildbach
11e4cb956e Transaction: Add findWitnessCommitment() to locate the witness commitment in a coinbase. 2019-02-22 10:53:02 +01:00
Andreas Schildbach
533487b97f Sha256Hash: Add twiceOf() and hashTwice() variants that simply take two byte arrays. 2019-02-22 01:14:57 +01:00
Andreas Schildbach
5749e3796d NetworkParameters: Remove deprecated static methods. 2019-02-22 00:46:02 +01:00
Andreas Schildbach
0004ea4c35 ScriptPattern: Get rid of redundant BaseEncoding instance. 2019-02-21 22:47:28 +01:00
Andreas Schildbach
029d096d8a Sha256Hash: Remove deprecated methods. 2019-02-21 22:35:53 +01:00
Oscar Guindzberg
53bd04e426 WalletAppKit: Always use provideBlockStore() to simplify using a different block store when needed. 2019-02-20 22:10:23 +01:00
Andreas Schildbach
f74d155ceb Remove deprecated AbstractPeerEventListener and NativePeerEventListener.
Their original interface PeerEventListener had already been removed in the last cycle.
2019-02-20 18:48:39 +01:00
Andreas Schildbach
eaf7955436 Remove deprecated PeerConnectionEventListener.
Use PeerConnectedEventListener, PeerDiscoveredEventListener and PeerDisconnectedEventListener instead.
2019-02-20 18:48:39 +01:00
Andreas Schildbach
74e3c3306f Remove deprecated BlockChainListener.
Use NewBestBlockListener, TransactionReceivedInBlockListener and ReorganizeListener instead.
2019-02-20 18:14:36 +01:00
Andreas Schildbach
ef6a2143ff PeerGroup: Lower stall download speed requirement from 20 to 10 blocks per second. 2019-02-20 14:23:52 +01:00
Andreas Schildbach
b4891ebd59 PeerGroup: Improve logging in ChainDownloadSpeedCalculator. 2019-02-20 14:23:52 +01:00
Andreas Schildbach
23b4e31c9a PeerGroup: Fix ChainDownloadSpeedCalculator falsely detects end of sync just because list of peers can be temporarly empty. 2019-02-19 17:54:46 +01:00