Commit graph

194 commits

Author SHA1 Message Date
Manfred Karrer
4e5fbb5f0b Add chaching flag to tests 2014-11-02 20:36:20 +01:00
Manfred Karrer
03f158f61d Use testnet and server seed as default, fix logs 2014-11-01 14:38:20 +01:00
Manfred Karrer
0831052d77 Update UtilsDHT2 2014-10-31 18:43:01 +01:00
Chris Beams
00af59aa20
Introduce network package and Peer abstraction
Prior to this change, TomP2P's 'PeerAddress' was used heavily throughout
Bitsquare, effectively tying many parts of the system to the TomP2P API
when they otherwise had no need to be aware of TomP2P at all.

The Peer interface (and the new 'network' package to which it belongs)
is designed to provide this missing abstraction and is a step toward
isolating TomP2P functionality as completely as possible--so as to make
the latter easy to test (and easy to replace if necessary).

A very simple TomP2PPeer implementation of the Peer interface has been
provided in the new 'network.tomp2p' package. It is currently just a
wrapper for an underlying PeerAddress object, but it is reasonable to
expect that more functionality will find its way into this class over
time.
2014-10-30 16:52:46 +01:00
Chris Beams
88951d71b8
Capitalize 'Bitsquare' consistently 2014-10-30 15:52:19 +01:00
Manfred Karrer
9c8b76d2b6 Update to latest TomP2P master 2014-10-27 15:09:52 +01:00
Manfred Karrer
52da080f22 Add simple Seednode for testing 2014-10-26 16:32:53 +01:00
Manfred Karrer
1184476448 Rename orders to portfolio, orderbook to offerbook 2014-10-25 01:25:01 +02:00
Manfred Karrer
68387eb13d Rename orders to portfolio, orderbook to offerbook 2014-10-25 01:18:38 +02:00
Manfred Karrer
12bbfd91f2 Updae for port forwarding 2014-10-24 23:38:04 +02:00
Manfred Karrer
ec2301c6ab Update to lasted TomP2P head 2014-10-24 21:50:51 +02:00
Manfred Karrer
39febbac4b Add tests for add, remove 2014-10-24 21:18:18 +02:00
Manfred Karrer
aeb7730147 Use async handlers at Bootstrap 2014-10-24 19:35:12 +02:00
Manfred Karrer
f75c5340d2 Fix bug in relay mode 2014-10-24 14:18:10 +02:00
Manfred Karrer
f8df890a47 Add DHT test with 2 seed servers 2014-10-24 12:00:53 +02:00
Steve Myers
890c57d58a cleanup 2014-10-23 22:33:18 -07:00
Steve Myers
495715fdf4 updated seed peer mode to add all seed peers with a different peerID as peers 2014-10-23 22:21:14 -07:00
Steve Myers
fd9024f6ea updated seed peer mode to add all other seed peers with a different peerID 2014-10-23 22:13:21 -07:00
Manfred Karrer
4a315d55a7 Rename Pending trades to Open trades 2014-10-23 22:01:34 +02:00
Manfred Karrer
98b6f72f90 Use security deposit as flat rate instead of percentage, remove wording of collateral 2014-10-23 15:32:01 +02:00
Manfred Karrer
f81a584e70 Remove localhost server setup in WAN test 2014-10-23 14:13:33 +02:00
Manfred Karrer
3fddcddc1e Ignore network tests 2014-10-21 21:28:05 +02:00
Manfred Karrer
e42bae9148 Update to latest TomP2P master 2014-10-19 15:17:17 +02:00
Manfred Karrer
4454236264 Add server code and comments 2014-10-18 22:37:49 +02:00
Manfred Karrer
c8c5e821b8 Remove idleUDPSeconds settings 2014-10-18 22:24:19 +02:00
Manfred Karrer
c74a9098a1 Add tests for basic tomp2p usecases localhost and wan (via port forwarding) 2014-10-18 22:17:54 +02:00
Manfred Karrer
793b3d0f37 Pass client port form args 2014-10-15 10:36:59 +02:00
Manfred Karrer
68fc89f3f6 Update to changes in TomP2P snapshot 25 API 2014-10-14 22:44:20 +02:00
Manfred Karrer
f31e9b8892 Add test app for DHT storage and loading 2014-10-09 20:35:38 +02:00
Chris Beams
0d048de7fc
Add missing GPL headers
Per 8746ab7, IDEA's copyright configuration had been wiped out for some
time. Now that it is back in place, this change is the result of a
global "Update copyright..." action (with a bit of pruning afterward).
2014-10-05 20:00:38 +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
b9b7d4b3e0 Improve usability, fix bugs 2014-10-02 14:30:05 +02:00
Manfred Karrer
4b117b2e84 Remove useless test 2014-09-27 01:44:32 +02:00
Manfred Karrer
9ea6fb9b55 Remove old Controller classes 2014-09-26 11:42:12 +02:00
Manfred Karrer
1130da6a8f Remove static methods from BSFormatter 2014-09-26 10:36:51 +02:00
Manfred Karrer
19e71ffad2 Remove BitSquareValidator (was deprecated) 2014-09-26 10:04:07 +02:00
Manfred Karrer
f80758ca34 Update to new trade process UI 2014-09-23 22:20:30 +02:00
Manfred Karrer
c30646a11c Orderbook, Mainview, refactorings 2014-09-15 00:05:40 +02:00
Manfred Karrer
52b04206e8 Rename initialized to initialize, add null checks in base UI classes 2014-09-11 12:25:25 +02:00
Manfred Karrer
bd5f8d0020 Use DI for validators, add @Deprecated/TODOs, 2014-09-11 11:17:11 +02:00
Manfred Karrer
78d939f181 Change package structure 2014-09-11 01:08:34 +02:00
Manfred Karrer
cd606d4b96 Move Create offer to new package structure 2014-09-09 09:59:16 +02:00
Manfred Karrer
08dba76d9e Remove test using fees 2014-09-09 09:41:20 +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
efc2100b26 Add payments account screen 2014-09-08 02:06:31 +02:00
Manfred Karrer
9732215c59 Add setup screens. 2014-09-07 13:04:31 +02:00
Manfred Karrer
c00c4b4400 Add setup process UIs. Improve navigation UI. 2014-09-06 12:32:02 +02:00
Manfred Karrer
2d13fa3d29 Add seed words ui mock 2014-09-04 12:58:34 +02:00
Manfred Karrer
d6d291702a Rename Localisation to BSResources 2014-09-04 12:08:21 +02:00