* 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>
* Export Result and Save Backup handle no file selection, New Point in curve not marked Endpoint
* Revert endpoint defaullt change
* Change to Option[File] from Save Dialog
* Explicit no return from cases