Commit graph

3835 commits

Author SHA1 Message Date
benthecarman
b8a984a986
Implement probing in lnd (#4202) 2022-04-25 10:50:33 -05:00
Chris Stewart
17944c4aad
Update rolling policies for log files (#4291) 2022-04-25 10:38:54 -05:00
benthecarman
bac3cb4190
Fix rolling log file (#4288) 2022-04-25 06:53:08 -05:00
benthecarman
95bbb06789
Add lnd invoice client (#4289) 2022-04-25 06:45:53 -05:00
benthecarman
587bca87c4
Add router rpc to lnd, use for paying invoices (#4286) 2022-04-24 12:31:46 -05:00
benthecarman
7566a96b31
Update akka to 2.6.19 (#4287) 2022-04-24 07:56:40 -05:00
Chris Stewart
a739a2dd2b
Bump README versions (#4284) 2022-04-24 07:25:43 -05:00
rorp
f5940c93d4
Contact list (#4234)
* Contact list

* fix unit tests

* Add contact rpc tests

* Add documentation

* Refactor ConsoleCli into app-commons

* Add commands to bitcoin-s-cli

* Fix timeout for rescan

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-04-21 13:02:35 -05:00
Chris Stewart
90970058f9
Improve TLV error message (#4283) 2022-04-21 09:55:13 -05:00
Chris Stewart
16c5d835de
2022 04 20 issue 4280 (#4282)
* Set bitcoin-s.node.mode=neutrino by default in docker-application.conf

* Fix bitcoin-s.node.peers in docker-application.conf, fix documentation
2022-04-21 06:15:57 -05:00
Chris Stewart
813b58e977
Update deps (#4279)
* Update lots of deps

* Downgrade postgres again

Co-authored-by: benthecarman <benthecarman@live.com>
2022-04-19 18:43:35 -05:00
Chris Stewart
d29bad3437
Add better logs for a DLCWallet.cancelDLC() (#4278) 2022-04-19 13:32:01 -05:00
Chris Stewart
cbfe684352
Reduce what gets tested on tor CI (#4274) 2022-04-19 08:32:09 -05:00
Chris Stewart
e3e59923c4
Parallelize some startup on startBitcoinSBackend() to increase performance (#4217)
* Parallelize some startup on startBitcoinSBackend() to increase performance

* Fix compile on 2.12.x
2022-04-19 08:31:53 -05:00
Nadav Kohen
f42d7ae8e7
Added validation to signature methods to avoid corruption edge cases (#4214) 2022-04-19 08:12:27 -05:00
dependabot[bot]
ca5bde46d4
Bump prismjs from 1.26.0 to 1.27.0 in /website (#4133)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 07:45:52 -05:00
benthecarman
5856745398
Add raw funding of psbt to LndRpc (#4235) 2022-04-19 07:39:24 -05:00
Chris Stewart
b0e849c233
Update pgp key as previous key expired (#4273) 2022-04-18 14:29:36 -05:00
Chris Stewart
8cda343fd3
Add version 1.9.1 to the website (#4269) 2022-04-18 13:23:52 -05:00
dependabot[bot]
47b65cae65
Bump async from 2.6.3 to 2.6.4 in /website (#4271)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 13:23:08 -05:00
Chris Stewart
2e193ed2ca
Try to fix zip release (#4270) 2022-04-18 12:31:46 -05:00
Chris Stewart
6536ecb288
Update 1.9.1 release notes again (#4268) 2022-04-18 10:48:15 -05:00
Chris Stewart
5ad5993f1a
Refactor WalletAppConfig test fixture destructions to stop the config… (#4266)
* Refactor WalletAppConfig test fixture destructions to stop the config when tearing down

* Fix test fixture where walletappconfig might not be started
2022-04-17 09:23:21 -05:00
Chris Stewart
717533baec
Make first set of database writes in signDLC be transactional (#4264) 2022-04-16 08:41:34 -05:00
Chris Stewart
07209ce670
2022 04 14 dlctxsigner err msg (#4262)
* Improve error messages for invariants in DLCTxSigner

* scalafmt
2022-04-14 09:19:03 -05:00
benthecarman
0a092e4e03
Add fromString for TransactionOutPoint (#4261) 2022-04-14 05:38:09 -05:00
Chris Stewart
ff8f44282b
Reduce parallelism to 4 (#4259) 2022-04-13 15:42:35 -05:00
Chris Stewart
10157d108f
Reduce parallelism when fetches txs in mempool for bitcoind backend (#4257) 2022-04-13 09:18:32 -05:00
dependabot[bot]
3d86276902
Bump minimist from 1.2.5 to 1.2.6 in /website (#4249)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 10:57:06 -05:00
Chris Stewart
37da24b94b
Add SignDbState to fix rescan exception (#4246)
* Add SignDbState to fix rescan exception

* Cleanup

* Add test, doesn't pass

* Add unit tests, add invariants

* Add unit test to appServerTest

* Fix handling so an exception is not thrown internally when a contractId does not exist
2022-04-11 08:06:53 -05:00
Chris Stewart
27cb4a3c20
Add height to log message when processing block (#4251) 2022-04-10 11:04:17 -05:00
Chris Stewart
7c1c572081
Rescan failure logging (#4250)
* Rescan failure

* Set rescanning to false inFailure case
2022-04-10 10:39:11 -05:00
Chris Stewart
a2587677c3
Use upsert rather than create in dlcsign in case we have seen the inputs before (#4248) 2022-04-08 07:01:43 -05:00
Chris Stewart
30a061e549
Use upsert rather than create as offers can use the same outpoints if negotiation fails for some reason (#4247) 2022-04-08 06:09:20 -05:00
Chris Stewart
1bc3962cfb
Async mempool processing (#4245)
* Async mempool processing

* Add processTx to the flow

* increase parallelism for network requests

Co-authored-by: rorp <rorp@users.noreply.github.com>
2022-04-05 08:02:51 -05:00
rorp
4b96407408
Add a Tx callback for Bitcoin Core backend (#4243) 2022-04-04 14:59:03 -05:00
Chris Stewart
24125eaca3
Fix case where we broadcast tx with a tag, and then also add the tag when we receive the tx in a block (#4239) 2022-04-03 13:40:19 -05:00
Chris Stewart
ddabc91294
2022 04 02 fix walletdlcsetup test (#4237)
* WIP

* Fix test case so it passes
2022-04-02 11:40:33 -05:00
Chris Stewart
b5bfcbc009
Increase amount so test fails more consistently (#4233) 2022-03-31 10:09:39 -05:00
Chris Stewart
f2fa56221d
2022 03 31 collateral invariant (#4232)
* DLCMessage.totalCollateral -> DLCMessage.collateral

* Fix bad names of {DLCOfferTLV,DLCAcceptTLV}.totalCollateralSatoshis, its not the total collateral, rather the collateral being contributed by the offerer and acceptor

* Fix rebase

* Fix appServerTest

* Fix docs
2022-03-31 09:48:08 -05:00
Chris Stewart
8081772b57
Allow acceptor to upsert same outpoint multiple times for different offers (#4230)
* Allow acceptor to upsert same outpoint multiple times for different offers

* Remove extra log

* Revert DLCOffer invariant

* Fix OP_RETURN tests
2022-03-31 07:47:10 -05:00
Chris Stewart
c92d5760f3
Update release notes again (#4228) 2022-03-30 12:00:11 -05:00
Chris Stewart
22051d2550
Bumps user agent to 1.9.1 (#4226)
* Make user agent dynamic based on version number

* Revert to static version
2022-03-30 06:18:33 -05:00
rorp
00bce5adae
Fix peer configuration for docker-compose (#4225) 2022-03-29 14:28:57 -05:00
Chris Stewart
3a5ae90cc2
Add a section to README.md about running docker-compose up (#4224)
* Add a section to README.md about running docker-compose up

* fix port
2022-03-29 09:58:31 -05:00
rorp
52bb6f6daf
Update docker-compose.yml (#4218)
* Update docker-compose.yml

* update docker-compose.yml
2022-03-29 08:15:11 -05:00
rorp
715639033c
Support for Tor Docker (#4223) 2022-03-29 08:10:34 -05:00
Chris Stewart
5eabe7640f
Don't send websocket events for DLCs while rescanning the wallet (#4222) 2022-03-29 06:47:23 -05:00
Chris Stewart
33171fd069
Use the set of addresses in the wallet when rescanning rather than generating more (#4211) 2022-03-26 06:22:09 -05:00
Chris Stewart
c51db2c57a
2022 03 24 update 1.9.1 release notes (#4213)
* Add more commits since last update

* Add summaries for individual modules

* More fixes
2022-03-24 10:28:04 -05:00