monk
cae096295f
Initiliaze/assign sendResult. Prevents NullPointerException and app from crashing when sending money out.
2014-04-18 15:09:11 +02:00
Mike Hearn
de58cb0444
PaymentSession: extract names from S/MIME certificates as well as SSL certs.
2014-04-18 15:06:54 +02:00
Mike Hearn
1a15ae2f52
ECKey: fix bug where creation time was lost when encrypting/decrypting.
2014-04-18 15:06:14 +02:00
Andreas Schildbach
25c332a71b
Include the hash160 of addresses in Wallet.toString(). This makes it easier to debug wallets just from the dump.
2014-04-18 15:04:11 +02:00
Mike Hearn
e5677c2f53
Wallet: disallow adding of keys that don't match the wallet's encryption state.
2014-04-18 15:02:03 +02:00
Andreas Schildbach
9010b9a411
Remove incorrect execution of OP_0. That code was never reached, because OP_0 is not an opcode in terms of chunk.isOpCode()). However, it lead to believe that OP_0 pushes the vector [0], rather than correctly the empty vector to the stack.
...
Because the code was never executed, this bug could never trigger a test. Afaict, script.cpp does not have the corresponding case in its switch block.
2014-04-18 14:59:18 +02:00
Andreas Schildbach
74cf34db82
Add script test to prove that OP_0 evaluates as the empty vector, rather than [0]. Also adds debug output in case an script_invalid.json test fails.
2014-04-18 14:56:24 +02:00
Mike Hearn
16aeea9104
Correct maven instruction in the README file and make ForwardingService work on mainnet again by fixing command line arg parsing.
...
Resolves issue 523.
2014-04-18 14:53:26 +02:00
Mike Hearn
8fc63e482e
Hex dump pending transactions that double spend each other.
2014-04-18 14:50:22 +02:00
Andreas Schildbach
9592f25ba1
Fix method name in SendRequest.aesKey javadoc.
2014-04-18 14:48:35 +02:00
Diego Basch
afff0f701d
added path to files on the Mac
2014-04-18 14:46:36 +02:00
Andreas Schildbach
38e103feea
Print available balance in Wallet.toString(), rather than the redundant number of Satoshis.
2014-04-18 14:41:51 +02:00
Peter Todd
b3e6a23f0e
Update BIP URLs to new github repo
2014-04-18 14:41:23 +02:00
Andreas Schildbach
fd6ceac30c
Fix crash in case wallet is so inconsistent that even .toString() fails.
2014-04-18 14:37:33 +02:00
Andreas Schildbach
112f6ab624
Prepare 0.11.2-SNAPSHOT
2014-04-18 14:26:09 +02:00
Mike Hearn
60199f810a
Build a bundled JAR for the core in parallel to the normal unbundled JAR. Helps people who don't use Maven for some reason, like Jython/JRuby users.
2014-03-05 17:32:06 +01:00
Andreas Schildbach
95abd140f0
Release 0.11.1
v0.11.1
2014-02-23 13:34:40 +01:00
Mike Hearn
e783895dd3
PeerGroup: fix a regression that stopped Bloom filters being sent when a key is added, and add a unit test covering that behaviour.
...
Resolves issue 524.
2014-02-23 13:21:55 +01:00
Andreas Schildbach
cc89cd0d16
Don't throw just because the name of the CA cannot be determined.
2014-02-22 16:11:54 +01:00
Andreas Schildbach
28a5d8abbc
Fix handling of defaults when parsing the payment message. Bitpay is leaving out the payment details version which was handled incorrectly. Adds a testcase for the defaults.
2014-02-21 13:54:20 +01:00
Mike Hearn
3ffcce49f9
PaymentSession: some bug fixes and new accessors.
2014-02-21 13:53:50 +01:00
Andreas Schildbach
f581a53aa0
Add method to clean up the wallet.
...
Currently, it just removes risky pending transaction from the wallet and only if their outputs have not been spent. Includes unit-tests by Miron Cuperman.
2014-02-20 22:37:42 +01:00
Matt Corallo
a5bc2f3794
Add isStandard risk analysis.
...
This is currently only to deal with recent spam, especially dust sybil spam. Includes an unit-test by Andreas Schildbach.
2014-02-20 22:37:31 +01:00
Mike Hearn
5543b166cc
Payment protocol: Expose a friendly/display name for validating CA
2014-02-19 09:52:16 +01:00
Andreas Schildbach
3755835d11
When printing the wallet, apply a sensible order to transaction pools. Again, it helps debugging of wallet problems.
2014-02-19 09:50:40 +01:00
Andreas Schildbach
0ee3dca7a0
Move pending transactions to the top of a wallet printout. It helps debugging, as pending transactions happen to attract most problems.
2014-02-19 09:50:03 +01:00
Andreas Schildbach
1250aa8e3d
Prepare 0.11.1-SNAPSHOT
2014-02-06 10:33:56 +01:00
Mike Hearn
410d4547a7
Release 0.11
v0.11
2014-02-04 11:30:55 +01:00
Mike Hearn
71391c1271
Fix Maven enforcer hashes.
2014-02-04 11:30:55 +01:00
Mike Hearn
6958ad94f7
WalletTool tweaks.
2014-02-03 16:32:45 +01:00
Mike Hearn
04e7551e99
Move stuff around in the POMs as part of preparing for Maven Central.
2014-02-03 15:42:53 +01:00
Mike Hearn
f4def39f40
H2 is now being exercised more thoroughly and was leaving test db files hanging around that would cause the next run to fail, fix.
...
Rename method/clean up a bit.
2014-01-31 18:49:58 +01:00
Mike Hearn
f46dc809e4
Add a string c'tor to PaymentRequestException.InvalidPaymentURL
2014-01-31 16:01:00 +01:00
Mike Hearn
cf34fc2815
Add Alex and Kevin to the AUTHORS file.
2014-01-31 14:25:51 +01:00
Alex Taylor
c10e029384
Postgres block store, with ability to calculate address balances.
2014-01-31 14:23:40 +01:00
Mike Hearn
00ca0cea0c
PeerGroup: pin TransactionBroadcasts from the peer group to avoid premature garbage collection when user code throws away the broadcast future.
...
Should resolve an issue Ken is having with flaky key sweeping.
2014-01-30 17:46:55 +01:00
Mike Hearn
fff5af29ff
Recalculate but don't rebroadcast bloom filters when a p2pubkey output is received.
...
Resolves issue 513.
2014-01-30 17:43:33 +01:00
Mike Hearn
9204c13233
Move min version for NotFoundMessage to a static member of that class.
2014-01-30 17:18:30 +01:00
Mike Hearn
7c9651a801
Payment protocol: fix broken reflection code for Android.
2014-01-30 15:32:17 +01:00
Mike Hearn
b3bf4aadb7
Payment protocol: re-organise code a bit to handle Android devices that have the javax property set.
2014-01-30 14:40:44 +01:00
Mike Hearn
f94c41e5b6
PeerGroupTest: Clear some minor static analysis warnings.
2014-01-30 14:13:07 +01:00
Mike Hearn
b5127f4414
Make change selectable in regtest mode even if there is only one peer.
2014-01-30 11:23:10 +01:00
Matt Corallo
28b24d0eaa
Fix yet another throw-vs-return but in CHECKSIG ( resolves #514 )
2014-01-30 03:49:37 -05:00
Mike Hearn
a1562836be
Payment protocol: Make PaymentSession use a global thread pool that uses daemon threads.
...
Fixes a 60 second hang that could occur in wallet-tool once the send request was processed. Fixing this revealed another bug - WalletTool was depending on this VM shutdown delay caused by the worker pool timeout, so clean up the code and replace with a blocking get of the future.
Also support the --offline and --password flags when using the payment protocol.
2014-01-28 13:58:08 +01:00
Mike Hearn
ddec4f9106
Allow Bitcoin URI's that don't have any address component if the r= payment protocol param is there.
2014-01-28 13:04:09 +01:00
Kevin Greene
3966875e8e
Adding support for processing PaymentRequests.
2014-01-28 09:46:51 +01:00
Simon de la Rouviere
4ca476ff35
When throwing InsufficientMoneyException, the amount of satoshis missing is required. When the server requests too much value, it is stored so that implementations of the client has access to it.
2014-01-25 18:14:06 +01:00
Matt Corallo
bd5c4e73e7
Prevent memory blowup on orphan storage
2014-01-23 10:37:47 +00:00
Ken Sedgwick
1a3c3be665
BIP-0039 multiple version support.
2014-01-19 09:46:47 +01:00
Mike Hearn
654543bb2b
BlockingClient: some fixes for Orchid
2014-01-15 23:16:04 +01:00