Commit graph

2566 commits

Author SHA1 Message Date
Aris
f8694eb097 Fix/typos (#2633)
* Fix typos

* Collection minor fixes

Removes redundant .headOption on options
Replaces .exists(_ == ???) with .contains(???)
Replaces option == None with option.isEmpty
2021-02-07 15:00:25 -06:00
Scala Steward
0c9bba8267 Update sbt-mdoc to 2.2.17 (#2632) 2021-02-07 08:15:10 -06:00
Chris Stewart
097fa24e58 Create ScriptFactory.isValidAsm() to standardize how check validity o… (#2629)
* Create ScriptFactory.isValidAsm() to standardize how check validity of a script

* Fix compile

* Fix docs
2021-02-06 08:43:17 -06:00
benthecarman
593b1e2ce1 Update README to have correct latest version (#2631) 2021-02-06 07:54:59 -06:00
Chris Stewart
ea75d62571 Add number cache trait, use it in all number types (u8,u32,etc) and S… (#2627) 2021-02-05 17:59:48 -06:00
Chris Stewart
bbd1dbc15d Do cheap checks in predicates first before more expensive ones (#2628) 2021-02-05 17:59:19 -06:00
Nadav Kohen
0d38721b3d Added utilities to created linear approximations of Long => Long functions (#2537) 2021-02-05 13:24:33 -06:00
Nadav Kohen
e417ac94a4 Re-wrote CETCalculator.splitIntoRanges (#2621)
Added some docs

Responded to review
2021-02-05 13:24:24 -06:00
benthecarman
b481b9a087 Fix oracle docs for 0.5 website (#2624) 2021-02-03 19:51:11 -06:00
benthecarman
3cc66ac42c Add missing oracle docs (#2623) 2021-02-03 19:04:02 -06:00
benthecarman
a06cca1b30 v0.5.0 release notes (#2384)
* v0.5.0 release notes

* Add release note about defaulting to native segwit

* Update with latest commits

* Update & name release
2021-02-03 17:59:11 -06:00
benthecarman
a318f333a5 Tag 0.5.0 website (#2622) 2021-02-03 17:23:06 -06:00
Chris Stewart
8f958bf5d9 Update scalafmt (#2619) 2021-02-03 16:37:12 -06:00
Chris Stewart
5e7ca2aaca Oracle price example documentation (#2618)
* Oracle price example documentation

* Remove --rpcport, add precision description
2021-02-03 16:08:51 -06:00
Chris Stewart
38864a255b Update chaindump (#2620) 2021-02-03 14:26:58 -06:00
Chris Stewart
35d58e6429 Reduce number of rows selected by best filter header/best filter query (#2617)
* Reduce number of rows selected by best filter header/best filter query

* Remove benchmarking code

* use same queries for best height and best filter so we don't repeat ourselves

* join by blockhash

* Apply optimization to compact filter table

Co-authored-by: Ben Carman <benthecarman@live.com>
2021-02-03 11:37:36 -06:00
Nadav Kohen
bb14254d65 DLC + Adaptor Docs (#2552)
* Wrote dlc docs (pending links to files that haven't been merged yet)

Added adaptor signature docs

Responded to review

Added code examples

* Added links
2021-02-02 13:33:46 -06:00
benthecarman
22e373e63d Fix bestblockhash rpc call (#2612) 2021-02-02 13:03:05 -06:00
Chris Stewart
ae6c25e2b5 Fix compiler warning (#2609) 2021-02-02 11:45:11 -06:00
Chris Stewart
47b15ed665 Update website dependencies to address security warnings (#2607) 2021-02-02 10:33:27 -06:00
benthecarman
d429c6ed59 Hide chain api creation (#2569) 2021-02-02 09:14:02 -06:00
Chris Stewart
16cb38e876 Make contract info lazy so native image works (#2606) 2021-02-02 08:43:21 -06:00
Nadav Kohen
93f33d26b6 Update dlc before release (#2543)
* Pulled down DLC data structure work

* Responded to Ben's review

* Gave Vector types names

* Pulled down Chris' work
2021-02-02 08:14:24 -06:00
benthecarman
29e0bafd41 Fix rescans with bitcoind backend (#2605) 2021-02-02 07:45:10 -06:00
Scala Steward
60bdf0929c Update sbt to 1.4.7 (#2598) 2021-02-02 06:32:18 -06:00
Chris Stewart
8f548d887b Add documentation to website for bitcoin-s-cli native image (#2591)
* Add documentation to website for bitcoin-s-cli native image

* Address ben's code review
2021-02-01 17:34:17 -06:00
Chris Stewart
b3a8d31090 Add enum oracle example (#2601)
* Add enum oracle example

* Fix sidebar

* Address code review

* One last comment
2021-02-01 17:07:26 -06:00
benthecarman
cf98d9e31e Wallet name in walletinfo (#2603) 2021-02-01 12:50:42 -06:00
benthecarman
86d9aaf1af Rename createevent rpc to createenumevent (#2604) 2021-02-01 12:06:08 -06:00
Scala Steward
452bd7e8e2 Update scala-collection-compat to 2.4.1 (#2597) 2021-02-01 07:21:13 -06:00
benthecarman
03ca6f617e Optimize filter sync and fetching filter heights (#2568) 2021-01-30 14:56:47 -06:00
Chris Stewart
2055c5a3c7 Add oracle configuration to example configuration.md (#2592) 2021-01-29 11:36:39 -06:00
Chris Stewart
546a8c55b3 Add better Block.toString that doesn't blow up logs (#2585)
* Add better Block.toString that doesn't blow up logs

* Use .toLong as ben suggested
2021-01-29 10:23:18 -06:00
benthecarman
93c1cf7d9f Fix aesPassword config in configuration docs (#2588) 2021-01-29 10:08:02 -06:00
benthecarman
ff6b85d195 Ignore block messages while syncing (#2587) 2021-01-29 09:28:57 -06:00
benthecarman
beac2be195 Update Oracle Server docs, fix oracle server bugs (#2581) 2021-01-29 08:14:28 -06:00
Scala Steward
36b8e755a8 Update metrics-core to 4.1.17 (#2580) 2021-01-29 07:57:45 -06:00
Chris Stewart
756bfc4427 2021 01 27 conectionpool (#2578)
* Give connection pool example config

* Get hikari logging working on postgres

* fix 2.12.x

* Bump metrics core to a supported version

* Add hikari-logging and hikari-logging-interval configuration options to turn off/on hikari and schedule how often logs appear

* Turn off hikari logging in the db-commons/reference.conf and add it to appserver/reference.conf

* default the logging to off in scala code

* Make sure connection pool is enabled in db-commons, add default database configuration to website

* Address code review, fix things that didn't need to be changed
2021-01-28 09:44:03 -06:00
Chris Stewart
092b5b2cab Add wallet sync documentation (#2565)
* Add wallet sync documentation

* Put bitcoin-s-cli call in the right place

* Add wallet.getSyncDescriptorOpt and heading for bitcoin-s-cli walletinfo

* Add walletinfo informations
2021-01-28 08:27:11 -06:00
benthecarman
45aa2988ad Fix oracle cli to use announcements (#2576) 2021-01-27 15:19:48 -08:00
benthecarman
fa27fb3fb1 Create BlockSyncState type (#2567) 2021-01-27 14:15:07 -06:00
Chris Stewart
d305dc50d5 Remove range event example from website docs (#2575) 2021-01-27 13:42:29 -06:00
benthecarman
33245b500e Bech32 address improvements (#2571)
* Bech32 address improvements

* Respond to review
2021-01-27 13:22:17 -06:00
benthecarman
0549fa355a Update website deps (#2573) 2021-01-27 07:18:28 -06:00
Scala Steward
1bba325687 Update sourcecode to 0.2.3 (#2557) 2021-01-23 20:53:23 -06:00
benthecarman
29bde74cb8 Fix all DAOs to use safeDatabase (#2556) 2021-01-22 16:13:45 -06:00
benthecarman
e10e278aa4 Add walletinfo rpc (#2546)
* Add walletinfo rpc

* Move rootXpub to key manager obj

* Make configuration keys for getinfo the same as the ones in our configuration files

* Cleanup

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-01-22 13:55:21 -06:00
benthecarman
983faa383a Updated DLC cli docs (#2551)
* Updated DLC cli docs

* Add stuff about from file for cli
2021-01-22 13:53:21 -06:00
rorp
05e21b1200 Bump Eclair version (#2405)
* Bump Eclair version

* cleanup

* Bump JVM version for CI

* Update docs

* Fix docs
2021-01-22 10:47:19 -06:00
benthecarman
0d07d558c4 Optimize node.start() and fetching filter & filter header heights (#2554)
* Make node.start() more async

* Add missing filter indexes

* Move queries to vals
2021-01-22 10:38:32 -06:00