Carlos Lopez-Camey
e208430ab6
adds helper methods Transaction.getWalletOutputs, TransactionOutput.getAddressFromPubKey and TransactionOutput.getAddressFromScript.
2014-07-27 13:15:20 -06:00
Mike Hearn
539037ec0e
Switch to accelerated secp256k1: huge speed improvements.
2014-07-26 14:56:34 +02:00
Mike Hearn
6ae4662f93
Upgrade to Bouncy/Spongy Castle 1.51
2014-07-26 14:48:51 +02:00
Kosta Korenkov
55803b15ac
Fix Script.getNumberOfBytesRequiredToSpend for P2SH
...
It is a size of redeem script that should be taken into account, not a
size of scriptPubKey
2014-07-26 01:05:22 +04:00
freak
b2efb0ddc2
Close connections in PostgresFullPrunedBlockStore. same as: b6f61e8850
2014-07-23 16:10:45 +02:00
Jiri Peinlich
cb0d052e08
use List interface instead of LinkedList implementation
2014-07-23 16:08:36 +02:00
Andreas Schildbach
c6659bcf5f
BIP38: Fix test using supplementary characters in the passphrase.
2014-07-23 16:07:26 +02:00
Mike Hearn
4a45d4a27f
Print full backtrace when a wallet extension fails to load.
2014-07-23 15:40:14 +02:00
Mike Hearn
afb732c528
Restore new tx purposes correctly.
2014-07-22 16:11:29 +02:00
Mike Hearn
626117bc29
Add logging for output disconnection and reconnection.
2014-07-22 16:04:26 +02:00
Mike Hearn
92544e9d47
Add ASSURANCE_CONTRACT_CLAIM/PLEDGE/STUB to the purpose field.
2014-07-21 16:42:20 +02:00
Mike Hearn
bb362aa483
WalletTool: make raw-dump output a little more helpful.
2014-07-21 16:23:43 +02:00
Mike Hearn
8ce96e82e7
Wallet Template: bugfix in ui logic for encryption
2014-07-21 16:08:31 +02:00
Mike Hearn
a5e4d046df
Adjust the behaviour of the current key mechanism to be more like what gui wallets really need.
2014-07-15 20:55:23 +02:00
Mike Hearn
96ee76e506
Update bip38 test3 ignore message again now the problem is better understood.
2014-07-15 20:52:08 +02:00
Mike Hearn
e143b2b4cb
Re-organise the layout of the Wallet file and introduce IntelliJ compatible editor regions, so parts of the code can be folded by feature area. This also makes it easier to understand what exactly the wallet does and why it's so huge.
2014-07-15 17:14:59 +02:00
Mike Hearn
5f65465f03
Remove the HD wallets todo list - there's now sufficiently little left to do that it's no longer useful. Other stuff should be put into the bug tracker.
2014-07-15 16:31:56 +02:00
Mike Hearn
b6c1e385c0
Update wallet todo list.
2014-07-15 16:31:03 +02:00
Giannis Dzegoutanis
5e1942f3f0
Made some methods public in BasicKeyChain. Fixes in deterministic key generation
2014-07-15 16:24:53 +02:00
Andreas Schildbach
72b7929523
Getter for addresses watched by wallet.
2014-07-15 14:42:20 +02:00
Andreas Schildbach
15060572a9
Fix some exception messages in BIP38PrivateKey.
2014-07-15 14:06:25 +02:00
Mike Hearn
0addfd63ec
Fix reason why BIP38 test vector is failing, Java strings can contain null characters just fine.
2014-07-15 14:05:04 +02:00
Mike Hearn
bab16650f9
HD Wallets: fix key lookahead and auto-advance so it works as intended.
...
Previously the codepath that was supposed to mark keys as used didn't work, and the lookahead calculation wasn't quite right. Now the current key advances correctly when an inbound tx is found that spends to it, including pending transactions. Additionally the lookahead zone now has the threshold zone after it, not inside it, meaning that if you request a lookahead size of 100 keys you'll actually always have at least 100 keys, never less.
2014-07-15 13:41:45 +02:00
Aaron Voisine
89b4b78dc4
fixed MAX_STANDARD_TX_SIZE to match bitcoin core
...
in bitcoin core MAX_STANDARD_TX_SIZE is 100000, not 102400
https://github.com/bitcoin/bitcoin/blob/master/src/main.h#L43
2014-07-14 16:19:53 -07:00
Mike Hearn
5397775f50
Use released version of easybind
2014-07-14 13:36:39 +02:00
Mike Hearn
94968a491e
Turns out there was both a JFX way to do this, plus EasyBind which is even more concise.
2014-07-13 22:28:44 +02:00
Andreas Schildbach
8068230042
Remove superfluous AddressFormatException from BIP38PrivateKey.decrypt().
2014-07-13 22:10:28 +02:00
Andreas Schildbach
aaf349ea6a
Fix Java7'ism.
2014-07-13 22:10:11 +02:00
Mike Hearn
5044a24f3b
Add forgotten image file
2014-07-13 22:09:44 +02:00
Mike Hearn
aa86642ffd
WalletTemplate: introduce a simple wallet model and use the FX reactive bindings framework to clean up and fix some bugs. Empty wallet button now is disabled when the wallet is empty.
2014-07-13 20:38:20 +02:00
Mike Hearn
29a11e22b7
WalletTemplate: add support for encryption. Scrypt parameters are calculated by testing CPU speed. A pie chart shows smooth decryption progress.
2014-07-13 20:04:08 +02:00
Mike Hearn
d6cf090f5c
Take out old WalletTool code that let you specify entropy as hex.
2014-07-11 13:12:40 +02:00
Mike Hearn
eb44bec154
Minor style cleanups in WalletSettingsController
2014-07-11 00:48:54 +02:00
Mike Hearn
05877abff7
Wallet template: add a UI to show the users seed words and demonstrate how to do a restore from seed with WalletAppKit.
2014-07-11 00:27:00 +02:00
Mike Hearn
78383f98f4
WalletAppKit: support for restoring a wallet from a seed. The old wallet is moved out of the way.
2014-07-11 00:26:37 +02:00
Mike Hearn
68bb476430
Clear an NPE in wallet printing that could occur when printing a wallet with private keys included.
2014-07-10 21:58:27 +02:00
Mike Hearn
8e6e2256bc
WalletAppKit/Template: Cleaner way to check if the app is already running. Backport from Lighthouse.
2014-07-10 21:44:38 +02:00
Mike Hearn
13b2f2104c
Less debug spam when sending bloom filters to keep FP rate low.
2014-07-10 21:38:32 +02:00
Mike Hearn
350f2addd3
Wallet Template: fix rendering of balance label after coin toFriendlyString change.
2014-07-10 21:38:18 +02:00
Mike Hearn
46d4c3487e
Generalise the crypto DRM workaround and use from the BIP38 codepath too.
2014-07-10 15:33:47 +02:00
Mike Hearn
36b1eb7dee
Disable code that no longer compiles in WalletTool pending fix.
2014-07-10 15:33:34 +02:00
Mike Hearn
682bd035fc
Fix a couple of static method via instance warnings.
2014-07-10 15:33:10 +02:00
Andreas Schildbach
a750a14edd
Implement BIP38 password encrypted private keys, decryption only. Contains all the test vectors from the spec minus one that is incompatible to Java.
2014-07-10 14:57:25 +02:00
Justas
03652298e1
Dead transaction does not contain confidence depth and should not fail when sorting.
2014-07-10 14:56:47 +02:00
Giannis Dzegoutanis
9446b1b625
added test for HDUtils.formatPath and changed HDUtils.parsePath to handle paths that start with the letter M
2014-07-10 14:56:10 +02:00
Devrandom
fec6cbc7df
Remove support for mnemonic-less keychains
2014-07-10 14:53:42 +02:00
Devrandom
2fae12064c
Fix BIP39 implementation
2014-07-10 14:53:42 +02:00
Devrandom
3420bdf8ac
Add cobertura support
2014-07-10 14:53:42 +02:00
Mike Hearn
483fd8a908
Expose TransactionBroadcast.random
2014-07-09 13:07:56 +02:00
Andreas Schildbach
c7fe06d4c7
Fix java package of ExponentialBackoffTest.
2014-07-08 13:54:05 +02:00