Commit Graph

3546 Commits

Author SHA1 Message Date
Chris Stewart
d46b4a6c91
Make logging to file async, remove neverBlock configuration so that we are guaranteed to capture logs (#4305) 2022-05-01 06:45:33 -05:00
Chris Stewart
be34593e80
2022 04 29 issue 4302 (#4304)
* Add building of oracle-server to release.yml

* Add bitcoin-s-cli build to release

* Fix bitcoin-s-cli build

* remove feature branch
2022-04-30 06:30:58 -05:00
rorp
0c6c9180ed
Handle duplicate UTXOs (#4296)
* Handle duplicate UTXOs

* Add logging

* Add log for exception in handleDuplicateSpendingInfoDb

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-04-29 08:21:41 -05:00
Chris Stewart
486fa36d2c
Make _findOutputsBeingSpentQuery take at most 1,000 outpoints (#4300) 2022-04-29 07:20:23 -05:00
Chris Stewart
79b4f096ec
Improve logging around signDLC (#4299)
* Improve logging around signDLC

* Improve logging so we can see what specific transaction fails when processing a block
2022-04-28 17:09:27 -05:00
Chris Stewart
f4d864fab8
2022 04 26 Startup time of appServer (#4294)
* Make Server's route be async

* WIP

* Add StartedBitcoinSAppConfig to indicate when tor starts up

* Add torStarted flag to getinfo response
2022-04-28 13:50:28 -05:00
Chris Stewart
67f8ac8294
Add cd bitcoin-s-server (#4298)
* Add cd bitcoin-s-server

* Fix git clone
2022-04-28 10:42:23 -05:00
benthecarman
16c13568a9
Lnd probing: only update route with mpp record if we can (#4293) 2022-04-27 08:34:04 -05:00
Chris Stewart
6db1f26625
2022 03 22 getrelevantoutputs upfront (#4219)
* WIP

Try and debug

WIP

Fix bug for incomingAmount

Clean up logs

more cleanups on logs

Remove another uncessary log

Don't process tx if we don't have a relevant received output for that specific tx

* Group hashes in batches of 1,000 before querying the db
2022-04-26 11:12:44 -05:00
Nadav Kohen
525fb2ac0d
Default createDLCOffer to current block height (#4285)
* Added createDLCOffer endpoint which doesn't take a locktime and uses current block height instead

* Made cetLocktime an option instead of an argument to the CLI, updated docs

* fix compile

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-04-25 14:30:32 -05:00
rorp
3831b35817
Prevent the wallet from creating duplicate UTXOs (#4290)
* Prevent the wallet from creating duplicate UTXOs

* respond to the PR comments

* cleanup
2022-04-25 11:56:37 -05:00
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