3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 10:45:51 +00:00

72 Commits

Author SHA1 Message Date
Andreas Schildbach
afc198600a Utils: Inline join(). 2017-06-02 16:55:40 +02:00
Andreas Schildbach
7e609a2409 Remove Orchid forked subproject and support for connecting via Tor. 2016-11-25 23:14:39 +01:00
Andreas Schildbach
3773a4343c Add a generic copyright statement to all license headers that don't have one.
Note it is not legally necessary to state copyright, but we think it makes things easier.
2016-06-06 21:32:02 +02:00
Andreas Schildbach
4e29e4fb00 Wallet: Make SendRequest a top level class. 2016-04-01 22:03:14 +02:00
Andreas Schildbach
1e66b9a8e3 Finish moving wallet related classes to .wallet package.
These classes are moved to .wallet:
- Wallet + WalletTest
- WalletExtension + WalletExtensionsTest
- WalletProtobufSerializer
- UnreadableWalletException

These classes are moved to .wallet.listeners:
- WalletEventListener
- WalletChangeEventListener
- WalletCoinsReceivedEventListener
- WalletCoinsSentEventListener
- WalletReorganizeEventListener
- ScriptsChangeEventListener
- AbstractWalletEventListener
- KeyChainEventListener
- AbstractKeyChainEventListener
2016-04-01 21:44:30 +02:00
Andreas Schildbach
c1938fec75 Harmonize license headers. 2016-03-26 19:55:05 +01:00
Andreas Schildbach
85f7c39aa5 Refresh bundled checkpoints and switch to textual format for easier audit. 2016-03-21 21:40:14 +01:00
Andreas Schildbach
9e52e4e0bf wallet-template: When constructing the wallet file name from the app's name, replace problematic characters so the filesystem doesn't throw up. 2016-02-29 16:41:49 +01:00
Ross Nicoll
aca39ee9de Split wallet events into single method interfaces 2016-02-06 20:01:38 +01:00
Kirill Vlasov
e3e8e8079d Constructors should only call non-overridable methods 2016-01-06 14:11:00 +01:00
Mike Hearn
9ba1be762a Wallet: flip argument ordering in deprecated Wallet.addEventListener to restore compatibility with 0.13 2015-10-05 17:12:55 +02:00
Andreas Schildbach
d4c7ce5c77 wallet-template: Fix warning about missing @Nullable annotation. 2015-08-24 18:54:00 +02:00
Andreas Schildbach
200f2368c6 AddressFormatException: Make unchecked. Base58 strings are rarely typed manually these days. 2015-08-08 16:33:29 +02:00
Ross Nicoll
ecbd021167 Refactor listener interfaces.
Refactor listener interfaces into their own package.
Split listener interfaces into smaller interfaces.
Make abstract implementations actually abstract.
Rearrange methods for adding listeners to put executor first.
2015-08-08 15:37:46 +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
Amichai Rothman
820765753c Clean up toString and other string-related code. 2015-06-30 12:45:59 +02:00
Mike Hearn
db86185972 WalletTemplate: remove bit of redundant fxml 2015-04-09 17:00:55 +02:00
Mike Hearn
cd337504b7 WalletTemplate: expose MainWindow in Main 2015-04-09 17:00:05 +02:00
Mike Hearn
04bc624a91 Rewrite TxConfidenceTable to actually track confidence objects. Make Transaction.getConfidence() fetch the object from the table via the context. This allows us to simplify large chunks of code quite considerably. Note that confidence listeners are not yet pinning the attached confidence to the root set, so the same old bugs remain if you don't pin the tx object. That will be fixed next. 2015-03-21 17:07:44 +01:00
Mike Hearn
e0870efd61 Rewrite how WalletTemplate estimates scrypt difficulty, as the old approach was horribly busted and could use tons of RAM. Backport from Lighthouse. 2015-02-25 18:58:15 +01:00
Mike Hearn
99ff22d77b Fix a bug in SendMoneyController that caused it to forget the amount of money requested across password requests. Fixes #316. 2015-02-25 18:49:25 +01:00
Mike Hearn
1efa1442c8 (API CHANGE) Pass the FilteredBlock into PeerEventListener.onBlocksDownloaded when present.
Keep track of downloaded vs server-side filtered transactions per second.
Add a keyboard shortcut to wallet-template to force disconnection from the current peer.
2015-02-17 17:02:57 +01:00
Mike Hearn
71e9a2d4b2 WalletTemplate: don't override default PeerGroup params as they should be appropriate out of the box. Propagate WAK startup errors to the UI. 2015-01-21 15:48:42 +01:00
Mike Hearn
2b6db0dc80 Add an experimental HTTP based peer discovery engine that uses signed gzipped protocol buffers. 2014-12-19 02:30:58 +01:00
Mike Hearn
b25899de58 Rename DownloadListener to DownloadProgressTracker 2014-12-18 13:59:50 +01:00
Mike Hearn
3a1c156d4e WalletTemplate: allow sending of arbitrary amounts. 2014-11-14 15:40:08 +01:00
Mike Hearn
9fa4afb5fe Fix WalletTemplate now that checkpoints are included. 2014-10-22 21:51:34 +02:00
Mike Hearn
4b65e37914 Focus the password field. 2014-10-07 22:38:09 +02:00
Mike Hearn
cc8925ed0f Integrate checkpoints into WalletAppKit so they're used by default in the non-Android context. 2014-10-07 15:16:39 +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
bc0c9da33c WalletTemplate: Small visual tweaks 2014-09-22 20:07:56 +02:00
Devrandom
03bacf4fa9 Cache deterministic seed 2014-09-22 15:00:18 +02:00
Mike Hearn
8af5aa0c6c BitcoinUIModel: better parameter name 2014-09-21 17:53:56 +02:00
Mike Hearn
e4e8271b47 WalletTemplate: use Tor by default on testnet. 2014-08-28 14:45:36 +02:00
Andreas Schildbach
b1176e0fdf Rename CoinFormat to MonetaryFormat, now that it can deal with Coin and Fiat mostly the same way. 2014-08-28 14:45:36 +02:00
Mike Hearn
3ec6d30562 Add testnet checkpoints for WalletTemplate. 2014-08-26 11:46:39 +02:00
Mike Hearn
c3cef3b917 WalletTemplate: New sync UI using the notification bar system. Wire up Tor initialisation so startup is less boring to look at. 2014-08-06 16:13:04 +02:00
Mike Hearn
694b07ccd6 WalletTemplate: Move sync progress to BitcoinUIModel.
Backport some more UI code from Lighthouse in preparation for a better sync progress bar.
2014-08-06 14:17:49 +02:00
Mike Hearn
7338d530a1 WalletTemplate: rename Controller to MainController 2014-08-06 13:53:42 +02:00
Mike Hearn
acd06518f0 Scene Builder 2.0 is now out so remove comment about it. 2014-08-06 13:43:17 +02:00
Mike Hearn
8ce96e82e7 Wallet Template: bugfix in ui logic for encryption 2014-07-21 16:08:31 +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
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
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
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
350f2addd3 Wallet Template: fix rendering of balance label after coin toFriendlyString change. 2014-07-10 21:38:18 +02:00
Piotr Włodarek
fb749f5f23 Fixed wallettemplate to compile again after BigInteger -> Coin refactoring. 2014-06-02 21:17:23 +08:00