Andreas Schildbach
16465d9310
Fix licenses for tools and examples.
2015-08-07 16:45:18 +02:00
Chris
0f0c7baec9
Update javascript Tor example to reflect simplified handling of .onion addresses
2015-07-24 23:03:21 +02: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
24de5e2a40
0.14-SNAPSHOT
2015-07-06 09:54:04 +02:00
Amichai Rothman
dc94018992
Fix misc. formatting/style/syntax inconsistencies and issues.
2015-06-30 12:45:59 +02:00
Amichai Rothman
820765753c
Clean up toString and other string-related code.
2015-06-30 12:45:59 +02:00
Mike Hearn
9f8501a7bf
Examples: add a tor.js file that connects to a hidden service node, as a demo of how to do it.
2015-06-25 19:04:54 +02:00
Mike Hearn
7666d84625
Examples: demo.js to use current PeerGroup start() API
2015-06-25 19:02:31 +02:00
Michael Bell
caa294c7f6
Fixing NPE in ExamplePaymentChannelServer due to using unintialized state.
2015-06-24 15:29:28 +02:00
Amichai Rothman
faf92971dd
Refactored Sha256Hash API:
...
- depracated constructors
- wrap methods to wrap given hash values in a new instance
- of/twiceOf methods to calculate hash values in a new instance
- hash/hashTwice to calculate hash values and return the raw bytes
2015-06-24 15:21:14 +02:00
Peter Stockli
e25e561560
remove unused imports and unused local variables
2015-06-23 19:51:41 +02:00
Andreas Schildbach
dba18dfb4d
Update to slf4j 1.7.7.
2015-04-17 16:37:13 +02:00
Mike Hearn
b25899de58
Rename DownloadListener to DownloadProgressTracker
2014-12-18 13:59:50 +01:00
Mike Hearn
8acf2e91e8
Add a BIP70 example to the javascript folder
2014-12-04 18:51:45 +01:00
Mike Hearn
90dace2ef5
Java 8 syntax cleanup
2014-12-03 13:10:07 +01:00
Devrandom
b9bca58f26
Remove tx from TransactionConfidence
2014-12-03 13:10:06 +01:00
Mike Hearn
e7c00df740
Replace peerGroup.startAsync/awaitRunning with start() and awaitTerminated with stop().
2014-11-24 13:04:58 +01:00
Mike Hearn
0952cf3d20
RefreshWallet doesn't need to specify localhost explicitly anymore.
2014-11-23 14:23:35 +01:00
Richard Green
3a23bb5ecd
Update forwarding.py
...
removed commented code that served no purpose.
2014-11-03 14:11:16 +01:00
Richard 'ragmondo' Green
17d8ac8d74
Made the sys.path.append more obvious
2014-11-03 14:11:16 +01:00
Richard 'ragmondo' Green
7169643d1c
Renamed params variable to use correct source library; removed traceback usage to be compatible with jython 2.5
2014-11-03 14:11:16 +01:00
Alon Muroch
6e40d4d7cd
Delete watched scripts methods. Fixed queueOnScriptsChanged threading.
2014-10-31 11:07:59 +01:00
ollekullberg
f40785fbdf
ExamplePaymentChannelClient should not send PeerGroup to the extension, since it uses WalletAppKit.
2014-10-17 11:17:11 +02:00
Mike Hearn
9dcc4ed6f4
0.13-SNAPSHOT
2014-10-05 20:38:00 +02:00
Mike Hearn
83a9a71f3f
bitcoinj 0.12
2014-10-03 00:46:31 +02:00
Mike Hearn
953625de9b
Add a couple of JavaScript examples.
2014-10-02 16:19:44 +02:00
Mike Hearn
0a6f901b23
Renamespace to org.bitcoinj away from com.google.bitcoin, as bitcoinj is no longer a Google project and being namespaced under com.google causes issues with Sonatype/Maven Central.
...
To fixinate your code:
find . -name '*.java' | xargs sed -i .bak 's/import com.google.bitcoin./import org.bitcoinj./g;s/import static com.google.bitcoin./import static org.bitcoinj./g'
2014-09-30 17:05:07 +02:00
Mike Hearn
8240f0c312
Add a Python/Jython version of the getting started tutorial, thanks to Richard Green.
2014-09-30 15:38:44 +02:00
Martin Zachrison
036f0bec27
Make PaymentChannel.ServerConnection.paymentIncrease asynchronous.
2014-09-30 14:34:54 +02:00
Devrandom
03bacf4fa9
Cache deterministic seed
2014-09-22 15:00:18 +02:00
Michael Bumann
cfd795ccbd
Adding more examples.
...
This adds example usages of:
* using the WalletAppKit
* restoring a wallet from a seed
* sending coins
* implementing a WalletEventListener
2014-09-22 12:12:14 +02:00
ollekullberg
fe91dc9110
Payment channel extension should be able to be initialized in two steps:
...
* A constructor that only takes the wallet as an argument
* A setTransactionBroadcaster() which should be called when the Bitcoin network is ready
Motivation: Some wallets (MultiBitHD) does not use WalletAppKit, and starts with reading the wallet before initializing the bitcoin network.
Now these wallets can create the wallet (and the wallet file is read), and call the setter after the bitcoin network is up.
2014-08-11 18:43:18 +02:00
cyberzac
eff9ac2ecc
Support for bundling an optional info Protobuf ByteString with a PaymentAck message
2014-08-03 21:02:40 +02:00
cyberzac
1153192be8
Support for bundling an optional info Protobuf ByteString with an UpdatePayment message.
2014-07-31 16:01:38 +02:00
Andreas Schildbach
afcc7e3f13
Coin.toFriendlyFormat() includes denomination (BTC). This saves a lot of string concatenation code.
2014-07-05 21:03:51 +02:00
Mike Hearn
60e70bd79e
Fix to the PrivateKeys example. Thanks to recallfx for the patch.
2014-06-02 21:49:59 +08:00
Andreas Schildbach
d4c1a1b043
Add missing @Override annotations.
2014-05-30 15:33:58 +02:00
Andreas Schildbach
51c48bb69f
Clean up coin constants and make more use of it.
2014-05-30 15:09:33 +02:00
Andreas Schildbach
48a76a8a03
Clean up Coin API for multiplications and divisions.
2014-05-30 15:09:32 +02:00
Andreas Schildbach
eb81b0c815
Move coin related methods and constants from Utils into Coin.
2014-05-30 15:09:32 +02:00
Andreas Schildbach
022e7c27fe
Wrap coin-ish BigIntegers into Coin class.
2014-05-30 15:09:32 +02:00
Mike Hearn
5638387d3a
HD wallets alpha preview
2014-05-29 20:11:13 +02:00
Mike Hearn
8ff52f5217
Payment channels: update example client to reflect API changes.
2014-05-28 13:26:19 +02:00
Piotr Włodarek
c08c68fc5e
Dealt with several compiler notices by verifying and then fixing or suppressing. Reduces compilation output noise.
2014-05-25 11:43:36 +02:00
Mike Hearn
0942bb57b5
Add a double spending test program
2014-04-15 13:35:11 +02:00
Andreas Schildbach
6087e43377
Upgrade to Guava 16.0.1.
...
Resolves issue 375.
2014-04-08 16:49:09 +02:00
Mike Hearn
829656b153
Correct maven instruction in the README file and make ForwardingService work on mainnet again by fixing command line arg parsing.
...
Resolves issue 523.
2014-03-10 17:36:32 +01:00
Andreas Schildbach
8fdfb04e43
Update SLF4J to version 1.7.6. Previously, inconsistent versions were used between sub-projects. All unit-tests pass.
2014-03-07 17:47:42 +01:00
Mike Hearn
5b74ea5c7b
Switch to version 0.12-SNAPSHOT. To the moon! ;)
2014-02-04 11:31:42 +01:00
Devrandom
3d99be48bc
Priority queue and exponential backoff for PeerGroup
...
Connect to peers in a service loop thread.
Resolves issue #159
Resolves issue #503
2013-12-23 22:57:19 +00:00