Commit graph

492 commits

Author SHA1 Message Date
Chris Beams
835937e0e7
Restructure Guice modules 2014-10-30 20:33:34 +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
311e15c0e5
Remove Mockito dependency for now
Mockito was causing conflicts with JUnit's use of the Hamcrest library
and its Matchers. Sort this out when Mockito is actually needed.
2014-10-30 16:50:51 +01:00
Chris Beams
52a3d58493
Merge branch 'refactor-enzo' into refactor 2014-10-30 15:55:57 +01:00
Chris Beams
a845088a6e
Customize enzo Notification to meet Bitsquare reqs
This reflects the customizations to Notification originally committed in
revision 1a6fb9, but includes *only* the Notification class instead of
bringing in all related enzo types and resources. We now rely on the
enzo jar for that.
2014-10-30 15:52:21 +01:00
Chris Beams
6435e2ab80
Reformat enzo Notification per Bitsquare rules 2014-10-30 15:52:20 +01:00
Chris Beams
47d9693a07
Re-introduce enzo Notification in original form
Copied from https://hansolo@bitbucket.org/hansolo/enzo.git at commit
eb1d32
2014-10-30 15:52:20 +01:00
Chris Beams
cbdd60631c
Introduce dependency on eu.hansolo.enzo:Enzo:0.1.5
Remove manually-copied classes and resources in favor of depending on the
latest released Enzo distribution.
2014-10-30 15:52:20 +01:00
Chris Beams
88951d71b8
Capitalize 'Bitsquare' consistently 2014-10-30 15:52:19 +01:00
Chris Beams
9620993e4d
Remove TomP2P example NAT classes 2014-10-30 13:09:41 +01:00
Chris Beams
8ca7b72e48
Introduce NoopMessageFacade 2014-10-30 13:03:57 +01:00
Chris Beams
e3b21fecff
Rename MessageFacade => TomP2PMessageFacade
- Rename MessageFacade => TomP2PMessageFacade
 - Reintroduce MessageFacade as an interface
2014-10-30 12:43:58 +01:00
Manfred Karrer
f91b0ba349 Remove awaitUninterruptibly() in listener (can cause a deadlock) 2014-10-29 00:31:16 +01:00
Manfred Karrer
74fa325aee Use https 2014-10-28 15:59:44 +01:00
Manfred Karrer
8cb8428982 Merge remote-tracking branch 'origin/master' 2014-10-28 15:58:46 +01:00
Manfred Karrer
57a466da85 Update links 2014-10-28 15:58:38 +01:00
Chris Beams
1323e77608
Support generation of native installer binaries
Use `./gradlew run` to build and run Bitsquare directly.

Use `./gradlew shadowJar` to generate a portable, executable jar.

Use `./gradlew packageNative` to generate an installer binary specific
to the platform you are running on.

In the case of Windows, it is necessary to copy the two .dll files in
the `package/` directory to the directory where Bitsquare.exe is
ultimately installed.

Resolves #243
2014-10-28 15:44:21 +01:00
Manfred Karrer
0687fc2f9b Add null checks 2014-10-27 15:58:53 +01:00
Manfred Karrer
9c8b76d2b6 Update to latest TomP2P master 2014-10-27 15:09:52 +01:00
Manfred Karrer
2a78e194bd Update to a new address 2014-10-27 15:05:43 +01:00
Manfred Karrer
670a19037e Reset offerbook filter values at screen change (#235) 2014-10-27 02:22:41 +01:00
Manfred Karrer
27b47830b2 Reset offerbook filter values at screen change (#235) 2014-10-27 02:07:41 +01:00
Manfred Karrer
35dcb862d9 Reset offerbook filter values at screen change 2014-10-27 02:01:54 +01:00
Manfred Karrer
8160397361 Shutdown correctly 2014-10-27 02:01:01 +01:00
Manfred Karrer
008ae0ef52 Fix bug with open trades row selection (#238) 2014-10-27 01:32:00 +01:00
Manfred Karrer
52da080f22 Add simple Seednode for testing 2014-10-26 16:32:53 +01:00
Manfred Karrer
39509b91c8 Fix withdrawal bug 2014-10-25 20:17:57 +02:00
Manfred Karrer
7c8a8dffcd Fix problem with relay and portforwarding 2014-10-25 19:22:02 +02:00
Manfred Karrer
6a51dd154a Deactivated port forwarding and isSuccess check because of a bug in TomP2P 2014-10-25 02:57:37 +02:00
Manfred Karrer
de2563d4bf Deactivate digitalocean2.bitsquare.io 2014-10-25 02:15:04 +02:00
Manfred Karrer
72763d0e5a Rename orders to portfolio, orderbook to offerbook 2014-10-25 01:53:04 +02:00
Manfred Karrer
637f954d25 Deactivate not implemented elements 2014-10-25 01:51:20 +02: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
5094b2de4a Improve wording 2014-10-25 01:05:22 +02:00
Manfred Karrer
2877f63004 Update splash screen 2014-10-25 00:24:20 +02:00
Manfred Karrer
b2e11be4a3 Fix bootstrapCounter 2014-10-24 23:43:32 +02:00
Manfred Karrer
ad7b9b8cce Remove SeedNode 2014-10-24 23:42:57 +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
Steve Myers
08f1a73bf5 Merge branch 'seedpeer' of https://github.com/bitsquare/bitsquare into seedpeer 2014-10-23 20:41:25 -07:00
Steve Myers
afa6af5fd1 Added command line option to set DHTManager seed peer ID 2014-10-23 20:13:24 -07:00
Manfred Karrer
74062986ed Merge remote-tracking branch 'origin/master' 2014-10-23 22:01:42 +02:00