Commit Graph

3503 Commits

Author SHA1 Message Date
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
Chris Stewart
3136b228fd
Log hidden service address (#4212) 2022-03-24 08:34:51 -05:00
Chris Stewart
702b7cae15
Add instructions for how to use sdkman in getting-setup.md (#4208) 2022-03-23 13:40:03 -05:00
rorp
0770fe0550
Mempool support for the bitcoind RPC client (#4196)
* Mempool support for the bitcoind RPC client

* fix unit tests

* fix race conditions

* fix compile error

* add more logging
2022-03-22 15:40:27 -05:00
Chris Stewart
413dbcacbb
Rename clearUtxosAndAddreses(account) -> clearUtxos(account) (#4206) 2022-03-22 13:08:03 -05:00
Chris Stewart
f16167642b
Upgrade website dependencies with yarn upgrade (#4204) 2022-03-21 11:52:24 -05:00
Chris Stewart
5475a994cf
Bump default address gap limit to 100, add log indicating we didn't find funds in the last addressBatchSize addresses (#4201) 2022-03-19 19:02:32 -05:00
Chris Stewart
3c2ecd555f
Make better error message when you cannot connect to bitcoind (#4200) 2022-03-19 16:32:26 -05:00
Chris Stewart
d5807daeab
Remove SpendingInfoDb.txid parameter (#4199) 2022-03-19 15:21:36 -05:00
Chris Stewart
8d2a749df6
Rename WitnessScriptPubKeyV1 -> TaprootScriptPubKey (#4198) 2022-03-19 13:26:03 -05:00
Chris Stewart
a3dba47970
Refactor pending receives/spent states into one spot (#4026) 2022-03-19 13:25:26 -05:00
Scala Steward
d7f12be1d4
Update scalafx to 17.0.1-R26 (#3874)
* Update scalafx to 17.0.1-R26

* Update scalafx to 17.0.1-R26

* Update scalafx to 17.0.1-R26
2022-03-19 12:22:42 -05:00
Chris Stewart
049411ccd6
Add note about backing up oracle db (#4197) 2022-03-19 12:13:11 -05:00
Chris Stewart
b0d7bee008
First draft of 1.9.1 release notes (#4195) 2022-03-16 13:39:34 -05:00
Chris Stewart
bd7f35e9ed
Set both bitcoin-s.proxy.enabled and bitcoin-s.tor.enabled in bitcoin-s-bundle.conf (#4194) 2022-03-16 12:05:10 -05:00
Chris Stewart
46229d712c
Rename clearAllUtxosAndAddresses() -> clearAllUtxos() (#4193)
* Rename clearAllUtxosAndAddresses() -> clearAllUtxos()

* Fix unit test

* Fix docs
2022-03-16 08:53:08 -05:00
Chris Stewart
ef41cce32d
Log entire address path when the address is generated (#4191) 2022-03-15 08:04:40 -05:00
Chris Stewart
8214c0b931
Add the account to the address generation log (#4190) 2022-03-14 19:33:40 -05:00
Chris Stewart
c882372c45
Improve process compact filter logs (#4189) 2022-03-14 18:09:36 -05:00
Chris Stewart
b8539bf68c
Upgrade sbt to 1.6.2 (#4187) 2022-03-14 16:46:01 -05:00
Chris Stewart
faac871db6
Make buildCreateOfferAction upsert funding inputs rather than insert (#4186) 2022-03-13 15:34:23 -05:00
Chris Stewart
3f18f7b04c
Only allow executing a DLC if it is in the Broadcast or Confirmed state (#4185)
* Only allow executing a DLC if it is in the Broadcast or Confirmed state

* Only throw if DLC is setup, not if its already executed
2022-03-13 14:08:47 -05:00
Chris Stewart
7ddeae66d2
Add web UI build tutorial (#4183) 2022-03-11 12:16:59 -06:00
Chris Stewart
fe86233489
Add better tor message to UI (#4181)
* Add better tor message to UI

* Fix compile
2022-03-11 11:17:52 -06:00
Chris Stewart
73fe4099f9
Renable tor configuration by default (#4179) 2022-03-10 16:22:42 -06:00
benthecarman
90ff59c6fe
Add The Bitcoin Company to users list (#4177) 2022-03-10 13:35:09 -06:00
rorp
a747f84bbb
Mark extarnal payout addresses (#4173)
* Mark extarnal payout addresses

* fix unit tests
2022-03-09 15:37:16 -06:00
Chris Stewart
668ab21ca1
2022 03 09 label refactor (#4175)
* Rename existing getaddresslabels -> getaddresslabel

* Fix missing rename of GetAddressLabel

* Modify pk constraint on wallet_address_tags to be tag_name rather than tag_type

* Add dropaddresslabel for a specific address

* Fix migrations

* Add unit tests and fix existing tests

* Add docs
2022-03-09 15:36:44 -06:00
benthecarman
c379cf4a73
Round Bitcoins to nearest Satoshi (#4154) 2022-03-09 12:01:26 -06:00
Chris Stewart
23f359821f
2022 03 08 Publish zip as part of release.yml (#4174)
* Build and upload universal zip on release.yml

* Try to fix artifact upload path

* try to fix wildcard

* Try removing zip suffix

* Try to use * regex

* Try to use ? regex

* try to remove path

* Try to remove '-' in regex

* Remove /*

* Try no regex, just specify path

* Adjust names

* Try to fix artifact path again..

* Try different wildcard according to test

* Try fix on issue

* Try to wrap in string

* pwd

* Upgrade to v3

* Attempt to fix release

* Try to upload staged directory so we don't have a zip inside of a zip

* Add chmod to startup script

* fixup

* Remove special branch
2022-03-09 06:43:47 -06:00
Chris Stewart
1072078d7c
Improve tx processing log to show when we have a relevant input/output to the wallet (#4172) 2022-03-08 11:05:32 -06:00
rorp
aeb3169884
getdlcoffer RPC (#4166)
* getdlcoffer RPC

* fix build

* unit tests
2022-03-07 14:28:00 -06:00
Chris Stewart
d63e845de4
Only update wallet's sync height if we don't have a match in processCompactFilter() (#4169) 2022-03-07 10:36:41 -06:00