Commit graph

2532 commits

Author SHA1 Message Date
Ben Carman
d0b9e61dd9 Add bitcoind functions for load and unload wallet (#2229) 2020-11-02 07:41:37 -06:00
Scala Steward
b85615ac87 Update bcprov-jdk15on to 1.67 (#2228) 2020-11-02 07:34:52 -06:00
Scala Steward
9c202a44c8 Update sbt to 1.4.2 (#2232) 2020-11-02 07:19:03 -06:00
Scala Steward
df002e1983 Update javafx-base, javafx-controls, ... to 16-ea+3 (#2205) 2020-10-28 08:55:10 -05:00
Nadav Kohen
3cf6d3cb0a Fixed P2SH(Segwit) bug and brought down DLC-used PSBT functionality (#2140)
* Fixed P2SH(Segwit) bug and allowed redeem scripts when calling addFinalizedScriptWitnessToInput

* Add test

Co-authored-by: Ben Carman <benthecarman@live.com>
2020-10-24 18:06:46 -05:00
Scala Steward
e317fa4a89 Update typesafe:config to 1.4.1 (#2212) 2020-10-23 09:15:24 -05:00
Ben Carman
6b6167bdf0 Only Validate PSBT BIP143 vulnerability on signing (#2204) 2020-10-22 13:05:58 -05:00
Ben Carman
7dd7e2574d Pretty Fee Rate toStrings (#2210) 2020-10-22 07:38:24 -05:00
Chris Stewart
1bb874db06 Fix overrides AppConfig.configOverrides with DLCOracleAppConfig, also remove hardcoded value out of AppConfig.configOverrides so people have to implement it (#2209) 2020-10-21 17:13:09 -05:00
Scala Steward
dc8f4b02be Update sbt to 1.4.1 (#2202) 2020-10-20 07:00:53 -05:00
Ben Carman
d7fe2c2ee6 Make GUI auto-update balance (#2197) 2020-10-19 09:49:07 -05:00
Scala Steward
ba48305681 Update sbt-mdoc to 2.2.10 (#2199) 2020-10-18 10:14:25 -05:00
Scala Steward
14a6c33748 Update postgresql to 42.2.18 (#2195) 2020-10-16 06:58:08 -05:00
Chris Stewart
5f3e720c28 Exclude sbt keys that unused (are they really unused?) (#2194)
* Exclude sbt keys that unused (are they really unused?)

* Add comment linking to PR
2020-10-15 10:46:31 -05:00
Ben Carman
c104bf11fb Make tx bytes functions lazy vals (#2180) 2020-10-14 14:18:24 -05:00
Ben Carman
9787e89403 Add Wallet State Descriptors (#2157)
* Add Wallet State Descriptors

* Sync blocks while offline w/ bitcoind backend

* Add to WalletDbManagement

* Update db management test

* Respond to review

* Rename function
2020-10-14 14:17:51 -05:00
Ben Carman
f628c265ae Add DbManagement tests for Oracle (#2186) 2020-10-14 08:04:00 -05:00
Scala Steward
ddea46545f Update sbt to 1.4.0 (#2119) 2020-10-14 07:20:56 -05:00
Ben Carman
4c711a5892 docs: Oracle Server setup docs (#2187) 2020-10-13 15:04:50 -05:00
Ben Carman
d267f66a93 Have api endpoints return json (#2178) 2020-10-13 10:13:57 -05:00
Chris Stewart
d37b563b40 2020 10 12 issue 2164 (#2173)
* Make private lazy val representing Flyway config in DbManagement, expose DbManagement.info() method

* Add more asserts based on new DbManagement.info() method

* Add extra +1 for flyway on postgres as it seems to apply an implicit migration needed to setup flyway
2020-10-13 10:11:37 -05:00
Chris Stewart
112ec90286 Refactor db configuration to use the key 'user' rather than 'username' inline with slick documentation (#2184) 2020-10-13 10:02:02 -05:00
Ben Carman
913f705167 Add address descriptors (#2176) 2020-10-13 06:14:11 -05:00
Ben Carman
890f4af04c docs: Clarify there are 2 options for node backend (#2177) 2020-10-13 06:13:03 -05:00
Ben Carman
8d58df8d42 BitcoindRpcConfig Test (#2181) 2020-10-13 06:10:36 -05:00
Ben Carman
128ff7de54 Create fromConfig functions for AppConfigs (#2170)
* Create fromConfig functions for AppConfigs

* Add fromClassPathConfig function
2020-10-12 14:07:45 -05:00
Ben Carman
3bd8764fa8 Add test for server startup (#2171)
* Add test for server startup

* Clear log location property after test
2020-10-12 12:15:27 -05:00
Ben Carman
d54c15d4cb Remove requirement for ZMQ with bitcoind backend (#2137)
* Remove requirement for ZMQ with bitcoind backend

* Add test, move poller to BitcoindRpcBackendUtil

* Add docs & logs, fix niche case

* Use AtomicReference, reset prevCount on failure
2020-10-12 07:59:57 -05:00
Scala Steward
3637a04fe4 Update akka-actor, akka-slf4j, akka-stream, ... to 2.6.10 (#2166) 2020-10-12 07:09:09 -05:00
Scala Steward
9b1c23b4a7 Update postgresql to 42.2.17 (#2168) 2020-10-12 07:08:38 -05:00
Scala Steward
cbb9193ed2 Update sbt-native-packager to 1.7.6 (#2172) 2020-10-12 07:00:24 -05:00
Ben Carman
3f066d47e7 Fix NPE and log location on server start up (#2163) 2020-10-10 00:14:04 -05:00
Ben Carman
de99dfe984 Make tx an argument for decoderawtransaction (#2155)
* trivial: Make tx an argument for decoderawtransaction

* docs: Fix help command, add to docs
2020-10-10 00:13:20 -05:00
Nadav Kohen
6c73ecf433 P2SHTxSigComponent constructor now detects witness data (#2169) 2020-10-09 22:34:50 -05:00
Chris Stewart
379e6f6af6 Add -Xcheckinit copmiler flag to tests to try and find uninitialized vals (#2165) 2020-10-09 10:44:58 -05:00
Ben Carman
77e8cabf5b Oracle Announcement TLVs (#2149)
* Oracle Announcement TLV

* Add pubkey, event uri & descriptor

* TLVParentFactory, EnumEventDescriptorTLV

* Add trailing V0 to types

* Make names match spec pr

* Add range descriptor

* Add num outcomes to enum descriptor
2020-10-08 22:47:40 -05:00
Chris Stewart
2cad89c1a0 Fix npe exception on oracleServer/run (#2160) 2020-10-08 20:16:00 -05:00
Chris Stewart
66cd274f35 docs: Fix internal database configuration docs (#2156) 2020-10-08 19:31:03 -05:00
Chris Stewart
3625c5bf88 2020 10 08 issue 2147 (#2153)
* Add test case for resolving typesafe config variables and making sure we honor system properties

* Remove println

* Move AppConfigTest test caess into the db-commons project
2020-10-08 10:37:13 -05:00
Ben Carman
47388efcc0 Refactor Mains to use common BitcoinSRunner (#2141)
* Refactor Mains to use common BitcoinSRunner

* Give better name
2020-10-08 07:17:48 -05:00
Ben Carman
7b53b02cfa Make ZMQ Listeners typed (#2144) 2020-10-08 01:21:50 -05:00
Ben Carman
fc1557cbe9 Small improvements on FundTransactionHandling (#2143) 2020-10-07 15:39:32 -05:00
Chris Stewart
7582171660 2020 10 06 explicit classloader (#2148)
* Use explicit classloader

* Add OracleInfoTLV for easy publishing

* Get config resolution working on sb-api

* Remove OracleInfoV0TLV
2020-10-07 13:47:48 -05:00
Ben Carman
c06c323c39 Use Llyod's Oracle recommendations on commitment Signature (#2117) 2020-10-06 18:33:28 -05:00
Ben Carman
55e2138fc4 docs: Add Bitcoind Backend Docs (#2136) 2020-10-06 13:40:24 -05:00
Ben Carman
3ac4ebb749 Update slack links (#2134) 2020-10-06 12:53:38 -05:00
Ben Carman
d83f973ea8 Don't allow duplcate or 0 outcomes for a DLCOracle (#2120) 2020-10-06 07:51:34 -05:00
Ben Carman
ef996adccf Make cli pretty print json (#2130) 2020-10-06 06:36:03 -05:00
Ben Carman
e75b4ff4c9 Optimize GetHeadersMessage.fromBytes (#2131) 2020-10-06 06:35:29 -05:00
Ben Carman
52ba32769a Increase DLC Oracle test coverage (#2128) 2020-10-05 22:06:31 -05:00