Commit Graph

19 Commits

Author SHA1 Message Date
Chris Stewart
9668358807
2021 10 04 issue 3715 (#3724)
* WIP

* Setup DLC fixtures to work with bitcoind

* Implement test case for issue 3715

* turn logging back down, add another assertion for making sure funding tx is still unconfirmed

* Make sure we are broadcasting from acceptor

* Cleanup
2021-10-10 07:51:00 -05:00
benthecarman
099e4469b4
Add ordering of funding inputs to DLC Wallet (#3647)
* Add ordering of funding inputs to DLC Wallet

* Fix tests
2021-09-11 08:25:24 -05:00
benthecarman
621e8e9033
Rescan DLC Tests (#3515) 2021-08-11 07:29:33 -05:00
benthecarman
c1ce9ca115
Disallow signing your own DLCAccept (#3453)
* Disallow signing your own DLCAccept

* Fix formatting
2021-07-27 10:47:31 -05:00
benthecarman
2597904019
Move DLCWalletApi to core module (#3438) 2021-07-21 15:25:18 -05:00
benthecarman
a295b363bd
Fix bug where we couldn't execute a DLC twice (#3426) 2021-07-20 10:43:27 -05:00
benthecarman
892096d790
Disallow calling addDLCSigs as Initiator (#3411) 2021-07-15 17:05:32 -05:00
benthecarman
e098aba680
Create and implement OrderedAnnouncements type (#3356)
* Create and implement OrderedAnnouncements type

* Fix docs

* Update scaladoc
2021-07-06 07:58:58 -05:00
benthecarman
cada6fdc63
Fix DLC not storing nSequence for funding inputs (#3342)
* Fix DLC wallet not storing nSequence for funding inputs

* Fix DLCTest
2021-06-29 09:36:30 -05:00
benthecarman
cfe0c2f0d8
Multi wallet support for DLC database (#3289)
* Multi wallet support for DLC database

* Fix for postgres
2021-06-22 12:56:26 -05:00
benthecarman
ca2ddbb7ec
Preserve noncedb outcomes when adding oracle (#3273) 2021-06-16 07:50:09 -05:00
benthecarman
e63a12e47f
Better error message for invalid DLC refunds (#3209) 2021-06-15 10:57:50 -05:00
Chris Stewart
bf02e89faa
2021 05 29 dlc pnl (#3198)
* WIP

* WIP2

* Get tableview rendering something

* Add basic unit tests for accounting

* Add rate of return

* Add myPayout and theirPayout to json objects

* Address code review

* Fix 2.12 compile, adjust table view

* drop isInit column on table view

* Fix scala 2.13
2021-05-31 11:12:24 -05:00
benthecarman
0e701bc9d0
Fix verify funding sigs (#3194)
* Fix verify funding sigs

* Sort funding inputs

* Sort utxos in dlc signer

* Other multi input fixes & tests

* Fix compile error
2021-05-28 19:59:45 -05:00
benthecarman
45d24facee
Add announcement data tests (#3173) 2021-05-27 12:24:50 -05:00
benthecarman
fb81552f6d
Don't fetch all DLC data when canceling DLC (#3159)
* Don't fetch all DLC data when canceling DLC

* Allow unmarkUTXOsAsReserved when canceling DLC

* Add ability to cancel a Signed DLC

* add gui conf window
2021-05-27 06:28:09 -05:00
benthecarman
80ace5a911
Use groupByExistingAnnouncements when accepting (#3157) 2021-05-26 15:37:50 -06:00
Chris Stewart
701418f89f
Fix issue 3102 to allow a user to create an offer with an announcement embedded inside a contract info that the user's wallet has seen before (#3140)
Fix bug where we were not taking into account all announcementTLVs
2021-05-25 18:53:13 -05:00
benthecarman
be8e965367
DLC Wallet pulldown (#3138)
* DLC Wallet pulldown

* Respond to review
2021-05-25 17:31:01 -05:00