* duplicate data structures in (ConsoleCli.scala) and (ServerJsonModels.scala) moved to (Command.scala)
* removed unused imports
* rebase for merge conflitcts
* change output type for Accept DLC
* more error fixes
* error fixes
* fixed destintaion error
* scala reformatting
* send from outpoints test runs and passes
* removed unnecessary braces, removed incorrect extensions on objects
* scala reformatting
* removed commented out code
* DLC <-> contact mapping
* updated docs
* populate dlc/contact mapping automatically
* typo
* respond to the PR comments
* rename `contact` to `peer`
* fix unit tests
* create a contact when an incoming offers gets created
* drop dlc_contact_mapping table
* fix build
* update the docs
* Revert "update the docs"
This reverts commit 2386adadcd.
* revert dlc-contact-* endpoints
t Please enter the commit message for your changes. Lines starting
* 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>
* 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>
* 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
* Implemented general payout curves including hyperbola curve piece support
WIP
Get GUI compiling
* WIP
* Get backward compatible serialization working, everything is equivalent except for in memory Scala data structures
* Get numeric contracts backward compatible
* Get rest of codebase compiling
* Add test case for old contract info
* Add sanity test vector for old enum contract descriptors
* Fix docs
* Remove comment
* Scalafmt
* Add DLCSerializationVersion, replace isOldSerialization
* Remove ValueIterator.takeNoSkip()
* Fix docs
Co-authored-by: nkohen <nadavk25@gmail.com>
* Implemented Disjoint Union DLC related data structures with dlcTest passing
Broke DLCClientTest up into multiple test files
Optimized DLC execution unit tests by checking all outcomes on a single setup DLC
Refactored DLCTest to allow for Disjoint Union DLC construction and validation, added tests
Responded to review
Fixed after cherry-pick
Fixed docs
* Fixed things after rebase
* Rebase
* Fix json serializer
* Finish fixing compile
* Start trying to make APIs better for multi oracle contract infos
* Clean things up in the GUI, try to make failures on disjoint union contracts as explicit as possible
* Use less numDigits as optimization for non secp CI test cases
* Fix compile
* Refactor BroadcastDLCDialog
* Fix test case optimization
* Clean up comment
Co-authored-by: nkohen <nadavk25@gmail.com>
* Sort DLC table by last updated
* Add LastUpdatedDb
* Make visible
* Fix compile
* Add time, fix sorting
* Switch to local time
* fix compile
* Fix test
* Fix postgres migration
* Specify zoneId
* Add Tor running text to UI
* Fix tor/proxy references
* Set network and proxy enabled from final config
* Cleanup
* Change to Tor Proxy indicator when enabled
* Add dialog to show transaction id and link after wallet Send
* Add transaction sent to rebroadcast closing tx
* Add Platform.runLater() for Ubuntu support
* Add block explorer timing warning
* Add Funding Transaction dialog, mempool.space urls
* Add check for valid broadcast states
* Add rebroadcast funding tx button
* remove printlns
* Add status to error message to get compile working
* println -> logger.info
Co-authored-by: Ivan <erickson.ivan@gmail.com>
* Add debug window to view log
* Test with Desktop.open() vs Desktop.edit()
* Use Runtime.exec() to open unix file
* Ubuntu log file open works
* Cleanup
* Brace cleanup
* Add logging for unsupported platforms
* Set disable to context menu items based on selection, add Refund/Execute
* Fix DLCStatus.state matching for disabling
* Add all explicit states to match
* Dialogs to CliCommandProducers with buildView(), common fileChooser
* Fix Insets import error
* Code cleanup
* Parameterize CliCommandProducer to allow us to be more specific about the CliCommand
* Refactor CliCommandProducer to return just T rather than Some[T]
* Use Option rather than null
* Add error-label style
* Move Dialog tracking to Option[Dialog]
* Move GUIUtil params to Options
* Fix buildView param ordering and Try() notation
* Use match notation on file handling Options
* Fix Option variable naming/handling
* Add privates and style cleanup
Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>