Commit graph

31 commits

Author SHA1 Message Date
Manfred Karrer
6b4f528f47 UpdateFX with maven build (tested only on mac) 2015-02-27 23:47:23 +01:00
Manfred Karrer
5b5bacc397 Cleanup, improve logging 2014-11-20 00:09:27 +01:00
Manfred Karrer
a23277a527 Use Utilities when accessing the default currency 2014-11-19 20:50:33 +01:00
Manfred Karrer
c9bed48a53 Change back fee to new standard 2014-11-19 20:35:08 +01:00
Manfred Karrer
3c6f31a421 Revert fee to old 0.0001 BTC to avoid problems with not accepted tx 2014-11-19 14:33:25 +01:00
Manfred Karrer
976a76411f Update formatter to new lower reg. fee (miner fee dropped 10 fold) 2014-11-17 20:26:20 +01:00
Chris Beams
1d5673ebb1
Polish
- Use AtomicBoolean vs. SimpleBooleanProperty in TomP2PTests to avoid
   use of javax.* classes where they aren't otherwise necessary.

 - Reformat code globally to eliminate trailing whitespace and fix
   indentation

 - Optimize imports globally to eliminate unused imports
2014-11-14 08:56:06 +01:00
Chris Beams
b0411393f5
Polish FeePolicy
- Convert static fields to final instance fields

 - Remove commented code

 - Rethrow any AddressFormatException as a BitsquareException instead of
   logging and returning null (doing so would cause NPEs in BitcoinJ
   internals).
2014-11-13 12:37:19 +01:00
Chris Beams
b911cd2a95
Use BitcoinNetwork vs. BitcoinJ's NetworkParameters
BitcoinNetwork now supports a #getParameters method that returns the
BitcoinJ NetworkParameters instance associated with the given
BitcoinNetwork enum label (e.g. TESTNET.getParameters() returns
TestNet3Params, etc).

BitcoinModule#BITCOIN_NETWORK_KEY and #DEFAULT_BITCOIN_NETWORK have been
moved to BitcoinNetwork#KEY and BitcoinNetwork#DEFAULT respectively.

Customzing the bitcoin network to use on the command line has been
improved. Values may be upper or lower case (e.g. "testnet", "TESTNET"),
and the value passed is converted to the correct BitcoinNetwork enum
value with the new EnumValueConverter class.

Finally, a BitcoinNetwork instance is now made available for injection
by BitcoinModule as opposed to binding a NetworkParameters instance. All
injection targets (constructors) throughout the codebase have been
updated to reflect this change, and the result is cleaner, enum-based
processing everywhere possible. And where it's necessary to drop down to
BitcoinJ's NetworkParameters, that's easy to do by calling
BitcoinNetwork#getParameters.
2014-11-13 12:31:47 +01:00
Chris Beams
830932d93d
Strip trailing whitespace 2014-11-03 12:33:41 +01:00
Manfred Karrer
2a78e194bd Update to a new address 2014-10-27 15:05:43 +01:00
Manfred Karrer
4d33eeb738 Add testnet and main net fee addresses 2014-10-08 00:45:11 +02:00
Chris Beams
041d8ec7a7
Upgrade to BitcoinJ 0.12-SNAPSHOT
- Update imports to reflect BitcoinJ's repackaging, including:

   git grep -l 'import com.google.bitcoin' | \
   xargs perl -p -i -e 's/import com.google.bitcoin/import org.bitcoinj/'

   git grep -l 'com.google.bitcoin' | \
   xargs perl -p -i -e 's/com.google.bitcoin/org.bitcoinj/'

 - Replace use of BitcoinJ's CoinFormat, which has now been renamed to
   MonetaryFormat, using:

   git grep -l 'CoinFormat' | \
   xargs perl -p -i -e 's/CoinFormat/MonetaryFormat/g'

 - Fix calls to BitcoinJ's Script#correctlySpends, whose signature has
   changed from 0.11 => 0.12.

See #98
2014-10-02 16:07:27 +02:00
Manfred Karrer
f80758ca34 Update to new trade process UI 2014-09-23 22:20:30 +02:00
Manfred Karrer
173073caf8 Refactor gui package structure to avoid cyclic dependencies 2014-09-09 09:38:47 +02:00
Manfred Karrer
05525e3558 Add account settings screens 2014-09-08 18:35:48 +02:00
Manfred Karrer
77431b3d94 added comments 2014-08-26 17:44:55 +02:00
Manfred Karrer
98c6e34b23 fixed utest, update formatting added comments 2014-08-26 17:32:43 +02:00
Chris Beams
a31aa9c883
Organize import statements 2014-08-26 16:01:34 +02:00
Chris Beams
a3c4df8dc3
Adjust line wrapping by hand 2014-08-26 16:01:33 +02:00
Chris Beams
1ad1d318e8
Wrap lines at 120 chars 2014-08-26 16:01:33 +02:00
Chris Beams
7d6ca37d06
Apply formatting to Java sources
This is essentially the default IDEA formatting settings, with one tweak
made to allow same-line field annotations (useful particularly in the
case of the @FXML annotation)
2014-08-26 16:01:32 +02:00
Chris Beams
be3beb5c13
Apply copyright to Java sources
Per http://www.gnu.org/licenses/gpl-howto.html
2014-08-26 15:56:14 +02:00
Manfred Karrer
0f04d3c483 update to bitcoinJ master 2014-08-05 20:00:47 +02:00
Manfred Karrer
65d97819ac add system try support, add address to create offer screen 2014-07-07 16:28:40 +02:00
Manfred Karrer
7e55b7325a changed trade protocol to use tasks, added scheduler framework 2014-07-03 19:22:06 +02:00
Manfred Karrer
4f26d76746 remove @Nullable/@NotNull annotations (too noisy and better use Optional/Either instead to avoid null pointer exc.) 2014-07-01 15:09:23 +02:00
Manfred Karrer
ebf2c559db add @Nullable/NotNull annotations, cleanup with intellij inspections 2014-06-30 02:17:26 +02:00
Manfred Karrer
7abbe21329 error handling, popups, code cleanup 2014-06-27 15:36:03 +02:00
Manfred Karrer
a91346252e orders section, offer table 2014-06-25 22:50:45 +02:00
Manfred Karrer
205259bee9 separate wallet addresses 2014-06-19 23:58:27 +02:00