Commit graph

3819 commits

Author SHA1 Message Date
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
Chris Stewart
ec384a8b39
2022 03 05 rescan gui (#4170)
* Add rescan option to the GUI

* Create 'Advanced' Menu
2022-03-07 07:48:40 -06:00
Chris Stewart
37611ddea1
Move all initialization of accept into initDLCForAccept() (#4162)
* Move all initialization of accept into initDLCForAccept()

* Fix parameter name

* Fix compile
2022-03-04 16:47:36 -06:00
Chris Stewart
c11d9ef1fe
Fix unit test where coinbase input was sometimes selected (#4165) 2022-03-04 16:09:08 -06:00
Chris Stewart
8e3b8c1f4f
Improve key manager error message (#4161) 2022-03-04 09:57:02 -06:00
Chris Stewart
5e9be9d69e
Fix hardened serialization (#4160) 2022-03-04 08:26:10 -06:00
Chris Stewart
c3300aec52
2022 03 03 hdpath fromstring factory exn (#4159)
* Add explicit excpetion when we are unaware of the purpose in a hd path

* Remove test

* Cleanup
2022-03-04 06:05:49 -06:00
rorp
56d0ae68ad
offer-send RPC (#4153)
* offer-send RPC

* docs

* change offet-send signature

* change offer_send signature

* add local address parameter

* remove local address parameter

* use temo contract id to send offers

* respond to the PR comments
2022-03-03 21:00:32 -06:00
Chris Stewart
0bb0d9acdb
Add AdaptorSigComputation states to states that a DLC can be cancelled in (#4158) 2022-03-03 20:52:19 -06:00
Chris Stewart
5113cac6c2
Log root xpub on keymanager startup (#4157) 2022-03-03 12:43:12 -06:00
Chris Stewart
f1bd0ea3a5
Add log message for the case where we match a script but do not have a matching address in our database (#4156) 2022-03-03 11:15:35 -06:00
Chris Stewart
4cefa56c99
Add unit test for address creation when we are already watching the script (#4152)
* Add unit test for address creation when we are already watching the script

* revert wallet

* Add upsert test too

* revert test again
2022-03-03 07:36:44 -06:00
Chris Stewart
374c1d7b9f
Upgrade RescanHandlingTest to use the newest release of bitcoind (#4151) 2022-03-02 09:59:25 -06:00
Chris Stewart
d1fc32758b
Fix tempContractId hash so we include LnMessage() bytes (#4150) 2022-03-01 19:02:33 -06:00
Chris Stewart
30226219e6
2022 03 01 static wix upgrade product code (#4149)
* Try fixing a stic wix productId so the windows OS can understand installations of bitcoin-s are the same product

* Add this branch to release.yml

* Use 1.9.0 windows product id

* Add EnvUtil.parseCommitsSinceLastTag, make last number on windows version be the number of commits since last tag

* Add ability to parse the version from a string

* use upgradeId rather than productId

* Remove feature branch from release.yml

* Remove test
2022-03-01 18:25:13 -06:00
user411
6e87eb1480
Offer.offerCollateralSatoshis to offerCollateral (#4148) 2022-03-01 13:35:21 -07:00
Chris Stewart
6b7058af4a
Add the temporaryContractId field to the json rpc response for offers (#4146)
* Add the temporaryContractId field to the json rpc response for offers

* Fix test case
2022-03-01 13:00:44 -06:00
Chris Stewart
c315dce05b
Add jdk version to log (#4142) 2022-03-01 10:12:44 -06:00
Chris Stewart
8d47f804d9
Update previous stable version to 1.9.0 (#4143) 2022-03-01 10:11:58 -06:00
Chris Stewart
54e18e6a8d
Update docker image to jdk 17 (#4128) 2022-03-01 07:33:05 -06:00
Chris Stewart
b86d4e492c
Allow both lnmessage and raw tlv to be sent over rpc for acceptdlc (#4140) 2022-03-01 06:13:59 -06:00
rorp
44b2ca3c3d
Improve validation error messages (#4141)
* Improve validation error messages

* fix unit tests
2022-03-01 05:27:32 -06:00
Chris Stewart
1bab51c1c6
Adjust appconfig logging to INFO (#4139)
* Adjust appconfig logging to INFO

* Add txids to log
2022-02-28 14:58:31 -06:00
rorp
c1dccd7831
Offer inbox RPC (#4129)
* Offer inbox RPC

* fix syntax errors

* change parameter type

* change receivedAt type

* rename RPC methods

* WS support

* fix syntax errors
2022-02-28 14:25:46 -06:00
rorp
ee98aa1d30
Increase offer message size (#4136) 2022-02-27 07:53:35 -06:00
Chris Stewart
8f02ebce10
2022 02 26 dynamic fee gui (#4135)
* WIP: Implement dynamic fee rates on desktop gui

* Fix bugs where we were calling fee rate api before backend was started
2022-02-27 07:14:52 -06:00
Chris Stewart
7a5c2971dd
Refactor receive flow to use the same utxo state transitions (#4134)
* Refactor receive flow to use the same utxo state transitions as the rest of the wallet

Get tests passing again with refactored utxos

Remove unecessary wallet methods

Fix test cases

* Remove fixture on UTXOHandlingTest

* Fix bug where funding happens in parallel in fixture and can lead to blockchain reorgs
2022-02-26 19:08:50 -06:00
Chris Stewart
c069b01e53
2022 02 24 rm prune addresses after rescan (#4130)
* Fix bug where we prune unused addreses on rescan. This doesn't let us discover funds for addresses sent that were not paid to until after the rescan was completed

* Add test case

* Fix neutrino node test case

* Some cleanup
2022-02-26 07:43:23 -06:00
Chris Stewart
3ba95700b2
Add RescanState, make sure we don't start concurrent rescans (#4131) 2022-02-25 05:23:51 -06:00
Chris Stewart
940c66807e
Add log for when a new address is generated (#4127)
* Add log for when a new address is generated

* Add isChange to the log
2022-02-23 15:10:30 -06:00
Chris Stewart
5aa46be423
Add a warn log if tor is not enabled and we are booting up DLCServer (#4126) 2022-02-23 12:29:23 -06:00
rorp
f3c443804b
Make DLCDataHandler more type safe (#4123) 2022-02-23 10:12:31 -06:00
benthecarman
5c9d64647e
Add PSBT functions for LND (#4124) 2022-02-23 10:08:36 -06:00
rorp
34b7d18268
External payout addresses for acceptdlc (#4121) 2022-02-22 14:47:48 -06:00
Chris Stewart
96d11163a6
Bump heap size on ci-release (#4118) 2022-02-22 09:27:13 -06:00