3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-12 18:25:51 +00:00

3251 Commits

Author SHA1 Message Date
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
Andreas Schildbach
e795ecbee5 WalletAppKit: Fix when restoring from seed, the fallback chain isn't created. 2019-02-19 13:50:38 +01:00
Andreas Schildbach
fa3a5b4827 WalletAppKit: Fix wallet isn't moved out of the way on restore, preventing the actual restore. 2019-02-19 13:39:42 +01:00
Andreas Schildbach
883ea24483 WalletTest: Add test for roundtripping a wallet via its mnemonic code. 2019-02-19 13:08:23 +01:00
Andreas Schildbach
246fc5ae55 Wallet: In toString(), add a flag for including the lookahead keys into the dump. 2019-02-19 12:20:04 +01:00
Andreas Schildbach
4baeeaf44a DeterministicKey, ECKey: In toString(), add a comment so that the role of the key in a keychain becomes clear. 2019-02-19 11:58:05 +01:00
Andreas Schildbach
09d5d33313 DeterministicKeyChain: Change return type of getKeys() and getIssuedReceiveKeys() from List<ECKey> to List<DeterministicKey>. 2019-02-19 11:53:55 +01:00
Andreas Schildbach
2502847dfd DeterministicKeyChain: In toString(), print lookahead size and threshold. 2019-02-19 11:19:19 +01:00
Andreas Schildbach
d7d6c3de09 Wallet-tool: Allow comma, semicolon and double colon as separator for seed words to work around the inability of Gradle to pass proper command line arguments. 2019-02-19 10:54:07 +01:00
Andreas Schildbach
4af38b8e92 Transaction: Rename hashForSignatureWitness() to hashForWitnessSignature() for consistency. 2019-02-19 09:54:53 +01:00
Andreas Schildbach
ff76b50ae2 Transaction: Fix hashForSignature() by making sure no witnesses get into the sighash and old serialization is forced. 2019-02-19 00:28:33 +01:00
Andreas Schildbach
e68a24e6bc KeyChainGroup: Fix currentKey() and currentAddress() still vends old key/address after new chain was activated. 2019-02-18 23:41:27 +01:00
Andreas Schildbach
d7b2beac97 Wallet: Fix getIssuedReceiveKeys() and getIssuedReceiveAddresses() to return keys/addresses of all active chains. 2019-02-18 23:41:27 +01:00
Andreas Schildbach
f94f8cd692 Migrate usage of deprecated Transaction.getHash() to getTxId(). 2019-02-18 23:41:27 +01:00
Andreas Schildbach
23e6862e9c Wallet: Fix a reference in JavaDoc. 2019-02-17 16:25:46 +01:00
Andreas Schildbach
214e835233 Transaction: In toString(), move purpose up. 2019-02-17 16:18:03 +01:00
Andreas Schildbach
0317c192e5 Script: Fix getNumberOfBytesRequiredToSpend() for P2WPKH. 2019-02-17 11:56:25 +01:00
Andreas Schildbach
30297af3de Wallet: Add an assert calculateFee(). 2019-02-17 11:55:35 +01:00
Andreas Schildbach
b303490fe3 Block: In toString(), print newline between transactions. 2019-02-17 10:44:27 +01:00
Andreas Schildbach
8910cd7a25 GetDataMessage: Support fetching of blocks with witnesses. 2019-02-17 10:35:16 +01:00
Andreas Schildbach
1852ba7e8e TransactionTest: Add a couple of asserts for transaction size. 2019-02-17 09:55:30 +01:00
Andreas Schildbach
d6513a304f Wallet: Add back deprecated findKeyFromPubHash() for compatibility. 2019-02-16 19:55:06 +01:00
Andreas Schildbach
f11667f505 Wallet: Add back deprecated variant of isPubKeyHashMine() for compatibility. 2019-02-16 19:55:01 +01:00
Andreas Schildbach
4de860aa1a Wallet: Add back deprecated variants of isDeterministicUpgradeRequired() and upgradeToDeterministic() for compatibility. 2019-02-16 19:54:54 +01:00
Oscar Guindzberg
66d54c11b1 build.gradle: Print failed tests a bit more detailed. 2019-02-15 18:58:25 +01:00
Andreas Schildbach
4fb0e6ed95 .travis.yml: Bring up to date.
- Use Ubuntu Xenial (16.04) image.
- Add an OpenJDK 11 build.
- Drop Oracle JDK build.
- Exclude wallettemplate from build, because of the dreaded OpenJFX dependency.
2019-02-15 18:22:09 +01:00
Andreas Schildbach
fc3d86bba5 Update AUTHORS from git. 2019-02-15 04:15:48 +01:00
Andreas Schildbach
aec74e344b SPVBlockStoreTest: Fix missing close(). 2019-02-15 04:15:48 +01:00
Andreas Schildbach
18e79b58b8 DeterministicKeyChain: Implement toString(). 2019-02-15 04:15:48 +01:00
Andreas Schildbach
3dbc7ecd62 Wallet: In maybeRotateKeys(), fix logic to find out the preferred scriptType. 2019-02-15 04:15:48 +01:00