Commit Graph

298 Commits

Author SHA1 Message Date
Chris Stewart
9148212800
Clarify documentation on getting-setup.md (#3731)
* Clarify documentation on getting-setup.md

* Add more clarification
2021-10-06 18:17:21 -05:00
Chris Stewart
4c15eb5268
Fix settling section (#3725) 2021-10-05 18:38:38 -05:00
Chris Stewart
3025a9a874
Add wallet election example to docs (#3716)
Write intro and requirements section

start contractinfo section

Finish offer section

Finish first draft of the wallet election example writeup

Add page to sidebar
2021-10-05 06:55:14 -05:00
Chris Stewart
6cbbd8825d
2021 10 02 create contract info (#3713)
* WIP createcontractinfo

* Fix ordering issue

* Use existing contract descriptor serializer, begin fixing test case

* Get DLCRoutesSpec createcontrafctinfo passing again

* Finish implementing createcontractinfo

* Add doc

* Fix native image build by adding hard coded static private key for OracleAnnouncementV0TLV.dummy
2021-10-05 06:24:25 -05:00
benthecarman
98ceddfc22
update lnd to v0.13.3 (#3720) 2021-10-04 12:12:10 -05:00
Chris Stewart
6aff01ffbf
createattesattion -> signenum (#3712) 2021-10-02 16:17:11 -05:00
Chris Stewart
466de3e46a
Update ConsoleCli endpoints, update docs (#3705)
* Update ConsoleCli endpoints, update docs

* Rename methods in DLCOracleApi from signAnnouncement -> createAttestation

* Fix dates on deprecation

* WIP, createattestation rpc not working for some reason

* Fix misspelling

* Rename endpoint from createattestation -> signenum

* Fix docs

* Fix use of deprecated method after rebase
2021-10-02 08:01:46 -05:00
Chris Stewart
3d725adc92
2021 09 29 delete announcement (#3701)
* Implement delete attestations

* Add DLCOracleApi.deleteAnnouncements()

* Make sure we don't have attestations before deleting announcements

* Add endpoint in OracleRoutes for delete announcement

* Add ConsoleCli implementation

* deleteattestations -> deleteattestation

* Document endpoints and add warnings

* Wire up ConsoleCli with deleteannouncement/deleteattestation

* Fix use of deprecated methods
2021-10-01 14:42:59 -05:00
Chris Stewart
26d7f99173
2021 09 30 rename endpoints (#3703)
* Deprecate things with the Event suffix in DLCOracleApi

* Rename classes used in OracleRoutes

* Rename endpoints

* Update docs

* listevents -> listannouncements
2021-09-30 14:22:17 -05:00
rorp
698fe9e800
Add backupwallet and backuporacle endpoints (#3694)
* Add backupwallet and backuporacle endpoints

* respond to the PR comments
2021-09-28 07:46:33 -05:00
Chris Stewart
2191eb2049
Add 'getversion' endpoint to fetch the version from the backend (#3689)
* Add 'getversion' endpoint to fetch the version from the backend

* Use EnvUtil.getversion
2021-09-27 07:42:21 -05:00
Chris Stewart
132479d271
Implement ability to provide external entropy to bitcoin-s (#3672)
* Encapsulate initialization of DLCOracle.start() method

* Use internal WalletAppConfig.kmConf rather than passing in custom key manager parameters

* Add KeyManagerAppConfig.defaultAccountType

* Get all tests passing besides TrezorAddressTest

* Get TrezorAddressTest passing with provided entropy

* Add unit test to make sure we can always derive the seed

* Get docs compiling

* Fix dlcWalletTest test cases

* Add more test cases to keymanager

* Add the new configuration to the example configuration

* Add more test cases

* Remove coverage on 2.12 as it isn't accurate

* Rework DLCOracleAppConfig.start() to call kmConf.start() so the oracle can use entropy provided via bitcoin-s.conf
2021-09-18 09:49:11 -05:00
Shruthii RG
d53f164478
BitcoindRpcClient Improvements (#3600)
* Changes in bitcoind-rpc module

* Get things compiling

* Implement BitcoindInstanceRemote & BitcoindInstanceLocal

* Fix doc compile

* bitcoind remote instance test

* rename BitcoindInstanceRemote

* Scalafmt

* Applied requested changes(except one)

* implemented fromConfigFile and fromDataDir for BitcoindInstanceRemote

* implemented fromNetworkVersion

* BitcoindInstanceRemote changes

* Get things compiling

* Add implict type parameter to InstanceFactory

* Fix recursive reference of version <-> getNetworkInfo

* bug fix

* bug fix 2

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-09-07 08:49:01 -05:00
benthecarman
515e85b1c5
Decode DLC messages cli commands (#3636)
* Decode DLC messages cli commands

* Move decoding to picklers, add contractInfo decoder

* Add decoding examples
2021-09-03 09:46:09 -05:00
benthecarman
40f89af597
Give help messages for DLC cli commands and document them (#3642) 2021-09-02 08:18:17 -05:00
rorp
704b02ae6c
Use random ports for pre-packaged Tor daemon (#3604)
* Use random ports for pre-packaged Tor daemon

* fix unit tests

* configurable random ports

* shutdown hook
2021-08-26 13:02:49 -05:00
benthecarman
d2a7bc02b6
Fix app server docker docs (#3575) 2021-08-19 10:16:56 -05:00
Shruthii RG
7f7bc1f4bf
Update configuration.md (#3503)
* Update configuration.md

* Update configuration.md

* Update configuration.md

* Update configuration.md
2021-08-17 10:46:07 -05:00
Sam Bradbury
6a66f9bfcd
Update tor.md (#3507)
* Update tor.md

Typo correction and further clarification for mac users

* Update tor.md

Moved torrc CooieAuthFile setting to the newly created 'optional settings section' and added extra clarity for the issue described here (https://github.com/bitcoin-s/bitcoin-s/issues/3547) which is similar to the issue I experienced.
2021-08-16 06:29:10 -05:00
user411
77539c570a
Adjust DLCTableView column widths and "counter party" to "counterparty" (#3539) 2021-08-13 07:14:11 -05:00
Mateusz Faltyn
c27291a7a2
Getting Setup Fixes (#3517) 2021-08-11 07:25:27 -05:00
rorp
3d4cf1fc91
Tor support for all sub-projects (#3506) 2021-08-10 08:07:12 -05:00
Sam Bradbury
c37f982f02
Update tor.md (#3495)
changes for mac osx user clarity
2021-08-06 06:53:36 -05:00
Chris Stewart
a8fa96b0a4
Add where tor.md modifications need to be made explicitly (#3493)
* Add where tor.md modifications need to be made explicitly

* Add another sentence to say create it if it dne
2021-08-06 06:53:02 -05:00
benthecarman
7cac44de4d
DLC P2P in AppServer and GUI (#3462) 2021-08-04 07:06:19 -05:00
benthecarman
1051e6365a
DLC P2P Client (#3402)
* DLC P2P WIP

* P2PClient refactor (#10)

* Add to CI

* Remove unused

* Attempt to create DLCNode and Tests

* Full Tor support

* Get DLCNegotiationTest passing

* Config options, connect & send func

* Test for DLCNode

* Add createDLCNode to config

* Fix formatting

* Update DLC state after all other data is set

* Remove unneeded line

* Respond to some review

* 2021 07 26 dlc node code review (#13)

* WIP

* WIP2

* Rewrite tests not use Await.result()

* Skip Tor test on CI

* Cleanup threadpool leaks in tests

* Handle actor pattern matching better

* Respond to review

* Implement DLCNode.stop

* sock5 -> socks5

* Use Tcp.Unbind

* Respond to review

* Implement postStop

* Switch to unbind

Co-authored-by: rorp <rorp@users.noreply.github.com>
Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-08-02 18:15:56 -05:00
benthecarman
35d2c6db4e
Update LND to v0.13.1-beta (#3435) 2021-07-21 15:19:32 -05:00
Shreyansh
4be2b2109b
[WIP] Adding multi-peer support (#3401)
* establish conn with multiple peers

squash 1

squash 2

squash 3

* add tests

* change log msg level

* minor changes

* fix

* formatting

* fix docs

* commit to rerun ci

* changes from comments

* fix bug

* rerun ci
2021-07-21 15:18:45 -05:00
Shruthii RG
1c6d728197
Made relay flag in version message configurable (#3416)
* relay flag in version message made configurable

* modified test classes as well

* Update configuration.md

* reverted few files and cleaned up format

* fixed mistake
2021-07-19 09:59:43 -05:00
Chris Stewart
b2b2ca45db
Add ability to configure postgres database backends for test cases via reference.conf (#3421) 2021-07-19 09:55:36 -05:00
rorp
8b663d91b6
Tor support for P2P (#3311)
* Tor support for P2P

* fix stuck connections

* unit tests

* docs

* update docs

* respond to the PR comments

* fix docs
2021-07-13 14:27:24 -05:00
user411
79e11c6dce
Update path to secp256k1 library in docs (#3385) 2021-07-09 06:27:26 -05:00
benthecarman
50804fe999
Add docs for backing up the wallet (#3351)
* Add docs for backing up the wallet

* Add image, fix github artifacts img
2021-07-06 10:54:38 -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
feeb3749bd
Fix most warnings in documentation code (#3358) 2021-07-01 06:34:10 -05:00
Chris Stewart
cc1cfe6594
Add more explicit instructions for install java9+ for getting-setup.md (#3347)
* Add more explicit instructions for install java9+ for getting-setup.md

* Add installation instructions for node.js

* Take ivan's suggestions

* Remove excess words
2021-06-29 11:18:40 -05:00
benthecarman
88b99b03b5
Add view on oracle explorer button (#3328)
* Add view on oracle explorer button

* Fix compile

* Fix docs
2021-06-25 09:53:01 -05:00
benthecarman
fafc564da8
Update LND to v0.13.0-beta (#3290) 2021-06-21 16:20:08 -05:00
Chris Stewart
3ef842eca5
Adjust --depth doc from 100 -> 500 (#3300) 2021-06-21 07:41:58 -05:00
Chris Stewart
97785561ba
Add link to installers, add docs for requirement of java9+ for development environments (#3299)
* Fix parts of issue 3298

* Specify that is for development environments, not runtime environments
2021-06-21 06:16:43 -05:00
Giamme
cdee40b379
Fixed bitcoin-s-cli dir location under bin (#3293)
It seems like the bitcoin-s-cli build is under ```./app/cli/target/universal/stage/bin/bitcoin-s-cli``` rather than ```./app/cli/target/universal/stage/bitcoin-s-cli```
2021-06-18 08:21:19 -05:00
benthecarman
bd11c84462
Add ability to sweep wallet (#3274)
* Add ability to sweep wallet

* Respond to review

* empty
2021-06-16 14:37:40 -05:00
Chris Stewart
410ea15224
update website, remove references to a DLC specific branch (#3280) 2021-06-16 10:17:10 -05:00
Chris Stewart
13409d29c3
Fix header on configuration.md (#3153) 2021-05-26 14:02:19 -05:00
benthecarman
73668bb66c
Remove old ZMQ config from documentation (#3090) 2021-05-14 14:33:57 -05:00
Nadav Kohen
58070f4120
Pulled down dlc and dlcTest projects into core and dlcTest (#3068)
* Pulled down dlc and dlcTest projects into core and dlcTest

Added dlcTest to CI runs and fixed compilation issues

* Fixed docs

* loosened fee rate bound assertions to only sanity test
2021-05-14 12:27:21 -05:00
Chris Stewart
11d58813c1
Remove zmq configurations for bitcoind backend setup as they aren't needed (#3080) 2021-05-14 05:51:02 -05:00
benthecarman
2b8ac08cdc
Give oracle ability to sign messages with private key (#3070) 2021-05-12 10:09:34 -05:00
benthecarman
8e29b5c6f6
Change outpoint output format for cli commands (#3048)
* Change outpoint output format for cli commands

* Use lockunspent format

* update docs
2021-05-08 08:15:49 -05:00
Chris Stewart
97a854c5bb
2021 05 07 fix getting setup (#3053)
* Fix getting-setup, add prodSettings,testSettings to new tor module

* Fix missing wallet rpc examples on 0.6
2021-05-07 17:55:21 -05:00