Commit Graph

2279 Commits

Author SHA1 Message Date
Ben Carman
93852aa438 Add DLC Oracle Server Endpoints (#2105) 2020-10-03 15:24:02 -05:00
Chris Stewart
323d324c9c Move configuration for sqlite into the 'bitcoin-s' key (#2113)
* Move configuration for sqlite into the 'bitcoin-s' key

Fix tests

* Re-add test database configuration key

* Make log level OFF again
2020-10-03 09:34:40 -05:00
Ben Carman
d57c059921 Add basic DLC Oracle (#2094)
* Add basic DLC Oracle

* Respond to review

* Respond to more review

* Add maturation time

* Add to testkit, tag hashes, better val names

* More clear vals, version tagged hashes

* Signing key clean up

* Add pubkey to db
2020-10-03 08:04:57 -05:00
Nadav Kohen
e71b664e1a Brought down ecdsa adaptor signatures implemented in scala from the dlc-crypto branch (#2034) 2020-10-02 10:43:59 -05:00
Ben Carman
09dfd5eb73 Add BIP45 Multisig Purpose (#2103)
* Add BIP45 Multisig Purpose

* Fix multisig purpose, add tests
2020-10-02 10:43:25 -05:00
Ben Carman
9817f84fef Allow any HDCoinType (#2097) 2020-10-02 10:42:59 -05:00
Ben Carman
7d85358530 Enable AddrMessageTest (#2106) 2020-10-02 10:36:15 -05:00
Ben Carman
6bd12f1f19 Bitcoind backend on server start up (#2088) 2020-10-02 10:33:24 -05:00
Ben Carman
3d2088490a Add signet db settings (#2068) 2020-10-02 10:31:02 -05:00
rorp
1f4678afee Server installation guide (#2091) 2020-10-02 10:29:49 -05:00
Ben Carman
88f6759f5d Make bitcoind extend chain api (#2087) 2020-10-02 06:19:56 -05:00
Ben Carman
ed5228310b Use SubtractFeeFromOutputsFinalizer when sending full utxos (#2072) 2020-10-01 17:32:24 -05:00
Nadav Kohen
4c202fd016 Introduced NFC normalization for strings in CryptoUtil and added String hashing functions (#2102) 2020-10-01 14:37:28 -05:00
Ben Carman
ad6c2563bd Create Util functions for wallets with a bitcoind backend (#2076)
* Create Util functions for wallets with a bitcoind backend

* Move function, delete reduant function

* Fix imports
2020-09-30 08:50:49 -05:00
Ben Carman
108ffa0716 Create BitcoindRpcAppConfig (#2077)
* Create BitcoindRpcAppConfig

* Fix to lazy val

* Override stop function to not use db

* Add new config options to docs
2020-09-30 07:36:23 -05:00
Ben Carman
2d34e2b690 Move DLC Oracle module to master (#2083) 2020-09-29 19:48:02 -05:00
Scala Steward
67b6c7b172 Update javafx-base, javafx-controls, ... to 16-ea+2 (#2038) 2020-09-29 18:24:45 -05:00
Ben Carman
e505da3651 Calculate HRP from network param instead of the inverse (#2079)
* Calculate HRP from network param instead of the inverse

* make hrp lazy

* Fix imports
2020-09-29 17:00:46 -05:00
Scala Steward
8c1a1e4a12 Update akka-actor, akka-slf4j, akka-stream, ... to 2.6.9 (#1993)
* Update akka-actor, akka-slf4j, akka-stream, ... to 2.6.9

* Update akka-actor, akka-slf4j, akka-stream, ... to 2.6.9
2020-09-29 09:20:53 -05:00
Ben Carman
2a8a0ffe40 Create ExtPrivateKeyHardened (#2073) 2020-09-29 06:35:41 -05:00
Ben Carman
805a84a34e Add network specific icons for bitcoin-s (#2067) 2020-09-28 14:51:03 -05:00
Ben Carman
920e30e5a2 Bitcoind v0.20 updated rpcs & tests (#2061)
* Bitcoind v0.20 updated rpcs & tests

* Test sorted multi
2020-09-28 14:25:28 -05:00
Ben Carman
77ba9fd8b9 Change versions in readme (#2065) 2020-09-27 08:16:59 -05:00
Ben Carman
a694ef16b7 Add ability to fully spend utxos (#2063)
* Let RawTxSigner dummy sign transactions

* Add ability to fully spend utxos

* Fix NeutrinoNodeWithWalletTest

* Fix test, simplify call
2020-09-27 08:16:26 -05:00
Ben Carman
e53317b409 Create initial BitcoindV20RpcClient (#2060) 2020-09-25 13:29:22 -05:00
Ben Carman
11e6b7d9eb Initial SigNet support (#2057) 2020-09-25 12:29:13 -05:00
Ben Carman
43db743660 docs: Calculate correct hashes in dlc doc (#2059) 2020-09-25 11:54:03 -05:00
Ben Carman
f19cba90d3 Bump user agent to new version (#2055) 2020-09-24 13:27:10 -05:00
Ben Carman
0b9f88e03d Fix HDPurpose Mapper for non standard values (#2054) 2020-09-24 06:33:20 -05:00
Ben Carman
a35b50a9f9 Add missing settings for native packager (#2053) 2020-09-23 17:02:40 -05:00
Ben Carman
f874eb5848 Put fee in funding error message (#2050) 2020-09-23 12:17:23 -05:00
Ben Carman
795d62c041 Change requesting filters log to use big endian hashes (#2048) 2020-09-23 12:02:34 -05:00
Ben Carman
1b57cac8ae trivial: Set timezone and print it in logs (#2046) 2020-09-22 14:03:42 -05:00
rorp
7d9f546bbb Increase the default db queue size (#2047) 2020-09-22 11:18:42 -05:00
Ben Carman
2458b36232 trivial: Change default logging level to info (#2043) 2020-09-22 07:31:18 -05:00
Ben Carman
1893c5446e Only log db config on startup (#2044) 2020-09-22 07:30:26 -05:00
Ben Carman
bdb80ba639 Only update txo confirmed state if there is a change (#2041) 2020-09-21 17:35:25 -05:00
Nadav Kohen
be7bd70805 Fixed PSBT.verifyFinalizedInput (#2040)
* Fixed PSBT.verifyFinalizedInput to allow NonWitnessUTXO to be set with a WitnessUTXO

* Added unit test

* Fixed bug where verifyFinalizedInput was also broken for P2SH(Segwit)
2020-09-21 17:01:27 -05:00
Ben Carman
27b467a50d Create v4 release for website (#2015) 2020-09-21 13:36:21 -05:00
Ben Carman
c59b3baf01 Create Cli function for reserving and unreserving utxos (#2035) 2020-09-21 12:37:15 -05:00
Ben Carman
21b269cf63 Have RawTxSigner use low R signing (#1722) 2020-09-21 11:30:15 -05:00
Ben Carman
3ec3b5d699 Merge pull request #2029
* Add more processing blocks tests

* Add immature coinbase txo state

* Test balance, add doc
2020-09-20 10:39:31 -05:00
Ben Carman
1e3aee55c3 Merge pull request #2019
* Refactor logging to only use grizzled slf4j

* Fix docs

* test travis config change
2020-09-19 14:09:12 -05:00
Scala Steward
975e8d0fda Update sbt-mdoc to 2.2.9 (#2033) 2020-09-18 17:01:51 -05:00
Chris Stewart
334b4d0965 2020 09 18 btchrp stringfactory (#2031)
* Implement StringFactory on the companion object for BtcHumanReadablePart

* Make Bech32.checkHrpvalidity() take in a string rather than a Bech32HumanReadablePart as a parameter, now we check validity _just_ according to the bech32 standard, not specific applications light lightning / bitcoin

* Add missing override

* Overload Bech32.checkHrpValidity() to pass in a 'StringFactory' in cases where you know what HRP you expect

* Do nadav's suggestion on Bech32.splitToHrpAndData() -- allow a factory to be passed in parameterized with the type you expect
2020-09-18 13:45:32 -05:00
Ben Carman
82b324f1aa Increase test coverage in WalletStorage (#2030) 2020-09-18 06:34:13 -05:00
Ben Carman
ae6bab857f Increase chain test code coverage even more (#2028) 2020-09-17 16:25:08 -05:00
Nadav Kohen
613f6ba4b9 Updated Bouncy Castle Schnorr implementation to most recent BIP 340 (#2025) 2020-09-16 17:01:30 -05:00
Ben Carman
16599010c7 Increase chain code coverage (#2023) 2020-09-16 16:24:25 -05:00
Ben Carman
db852e4ffb Increase code coverage in key manager (#2024) 2020-09-16 15:05:19 -05:00