improve stability on tor, refactor startup and shut down

refactor startup sequence to improve message reliability
refactor shut down sequence to finish processing messages
reduce monerod requests to improve slow tor connections
refactor trade wallet polling
monero node service uses default data directory unless local
connections service checks connection by polling daemon
connections service supports getRefreshPeriodMs and shutting down
add make config: monerod-stagenet-custom
fix bugs in key image polling
force stop wallet on deletion
trade manager initializes persisted trades on data received
support hardcoding monero log level and request stack traces
remove xmrAddress from Arbitrator model
fix formatting of MoneroWalletRpcManager
This commit is contained in:
woodser 2023-04-17 08:54:10 -04:00
parent 5e364f7e7e
commit 2afa5d761d
51 changed files with 1058 additions and 644 deletions

View file

@ -54,11 +54,11 @@ public class ArbitratorManagerTest {
add("es");
}};
Arbitrator one = new Arbitrator(new NodeAddress("arbitrator:1"), null, null,
Arbitrator one = new Arbitrator(new NodeAddress("arbitrator:1"), null,
languagesOne, 0L, null, "", null,
null, null);
Arbitrator two = new Arbitrator(new NodeAddress("arbitrator:2"), null, null,
Arbitrator two = new Arbitrator(new NodeAddress("arbitrator:2"), null,
languagesTwo, 0L, null, "", null,
null, null);
@ -90,11 +90,11 @@ public class ArbitratorManagerTest {
add("es");
}};
Arbitrator one = new Arbitrator(new NodeAddress("arbitrator:1"), null, null,
Arbitrator one = new Arbitrator(new NodeAddress("arbitrator:1"), null,
languagesOne, 0L, null, "", null,
null, null);
Arbitrator two = new Arbitrator(new NodeAddress("arbitrator:2"), null, null,
Arbitrator two = new Arbitrator(new NodeAddress("arbitrator:2"), null,
languagesTwo, 0L, null, "", null,
null, null);

View file

@ -39,7 +39,6 @@ public class ArbitratorTest {
public static Arbitrator getArbitratorMock() {
return new Arbitrator(new NodeAddress("host", 1000),
"xmraddress",
new PubKeyRing(getBytes(100), getBytes(100)),
Lists.newArrayList(),
new Date().getTime(),