1
0
Fork 0
mirror of https://github.com/bitcoin-s/bitcoin-s.git synced 2025-03-26 21:42:48 +01:00
Commit graph

2556 commits

Author SHA1 Message Date
Ben Carman
6e2c811789
Rolling log file location ()
* Rolling log file location

* Fix file name
2020-08-18 14:37:22 -05:00
rorp
874a96eb1e
Refactor wallet DB ()
* Refactor wallet DB

* fix create(), update() and upsert()

* remove accout foreign key

* fix wallet fixtures

* update Postgres schema

* update SQLite schema

* fix AddressHandlingTest

* fix SQLITE_BUSY exception in TransactionProcessing

* fix RescanHandlingTest

* revert NeutrinoNodeTest

* fix SpendingInfoDAOTest

* fix SQLITE_BUSY exceptions

* fix DbManagementTest

* fix "Task rejected" Slick exceptions in Postgres mode

* responded to the PR comments
2020-08-18 13:43:12 -05:00
Ben Carman
26f47d269c
Fix server parsing for send to address () 2020-08-17 09:49:50 -05:00
Ben Carman
a3a2248aa1
Add missing route for getaddressinfo () 2020-08-17 06:27:16 -05:00
Ben Carman
667d2bc0e5
Fix case of cli command sendwithalgo () 2020-08-16 16:16:27 -05:00
Ben Carman
b1b5f0ad8d
Use database to calculate number of confirmations ()
* Use database to calculate number of confirmations

* Check block is in best chain

* Use db

* Optimize getNumberOfConfirmations

* Fix compile issue for older versions

* Add better logging messages

* More logs

* Update confs sequentially
2020-08-16 16:15:13 -05:00
Ben Carman
0ca5b692dc
Fix get missing utxos () 2020-08-16 16:14:13 -05:00
Scala Steward
b13d9ce7dc
Update sbt-native-packager to 1.7.5 () 2020-08-16 09:01:16 -05:00
Scala Steward
86647d3a32
Update postgresql to 42.2.15 () 2020-08-16 08:50:26 -05:00
Ben Carman
60e82894d7
Don't wait for rescan completion to send message () 2020-08-16 08:46:36 -05:00
Ben Carman
c5f7c3d0e1
Disable logging for tests () 2020-08-16 08:16:30 -05:00
Chris Stewart
ff8f922684
Batch and execute headers for chain work calculation test case, this … () 2020-08-15 14:05:01 -05:00
Ben Carman
c9fba8ad82
Create primary key of (address, tag_type) for AddressTag table () 2020-08-15 12:52:00 -05:00
Chris Stewart
d65f68ea21
2020 08 14 issue 1829 ()
* Fix O(n^2) behavior in BaseBlockchain.connectWalkBackwards, cache BlockHeader.hash after the first time it is called

* Revert a few files
2020-08-15 07:31:50 -05:00
Chris Stewart
11e08718ff
Attempt to batch checking of headers in chainTest to avoid reject exe… ()
* Attempt to batch checking of headers in chainTest to avoid reject execution exceptions in the scala slick database queue

* Fix 2.12 compile issue
2020-08-15 07:23:26 -05:00
Chris Stewart
86f68b3b62
Fix address tag issue where we weren't adding tags to an address, we were replacing existing tags () 2020-08-14 10:06:28 -05:00
Ben Carman
9dc7b2c0dd
Remove default false for useLogbackConf ()
* Remove default false for useLogbackConf

* Fix docs

* Set logging level to WARN for tests
2020-08-14 08:53:07 -05:00
Ben Carman
c5617f6fbe
Require utxos aren't spent when sending from outpoints () 2020-08-14 08:43:18 -05:00
Scala Steward
90138a956d
Update sbt-mdoc to 2.2.5 () 2020-08-14 08:18:37 -05:00
Ben Carman
0bd60fd6d9
Revert scalaTestPlus 3.2.1.0 -> 3.2.0.0 () 2020-08-13 14:05:52 -05:00
Chris Stewart
cad3c64cda
Output logger configuration on startup now ()
* Output logger configuration on startup now

* Remove core-test/logback-test.xml and core/common-logback.xml, consolidate and move them into testkit/src/main/resources/logback.xml

* Add comment for logging configuration
2020-08-13 12:36:42 -05:00
Ben Carman
47e305e1aa
Config CLI option, datadir correctly read from config ()
* Config CLI option, datadir correctly read from config

* Change --config to --conf, add docs
2020-08-13 10:53:25 -05:00
Ben Carman
cb962f4d95
Optimize unmarkUTXOsAsReserved () 2020-08-12 14:02:02 -05:00
Ben Carman
1f6e2249ea
Address Tagging/Labeling Support from CLI ()
* Address Tagging/Labeling Support from CLI

* Scaladoc
2020-08-12 10:55:15 -05:00
Ben Carman
e247289c34
Make Akka log to file correctly () 2020-08-12 07:52:51 -05:00
Nadav Kohen
9e5e2634f8
Fixed Transaction Signing doc () 2020-08-12 06:26:24 -05:00
Chris Stewart
fa388c7448
Create more of a project structure in org.bitcoins.core.api, move DbR… ()
* Create more of a project structure in org.bitcoins.core.api, move DbRowAutoInc into the core project

* Get website compiling again
2020-08-12 06:13:23 -05:00
Scala Steward
1e41bf02e8
Update sbt-mdoc to 2.2.4 () 2020-08-11 09:11:39 -05:00
Ben Carman
e2294414bf
Send correct version message on node start up () 2020-08-11 09:11:04 -05:00
Ben Carman
d72316722d
Bump stop timeout () 2020-08-11 09:10:06 -05:00
Ben Carman
97ddf62b9f
Send GetHeadersMessage using all of our cached headers to prevent reorgs from stalling node ()
* Send GetHeadersMessage using all of our cached headers to prevent reorgs from stalling node

* Add test, improve logging

* Start with correct chains

* Simplify error, change back to createAll
2020-08-10 13:04:12 -05:00
Scala Steward
84dfb33c37
Update sbt-buildinfo to 0.10.0 () 2020-08-10 12:23:07 -05:00
dependabot[bot]
0a16a79c75
Bump prismjs from 1.20.0 to 1.21.0 in /website ()
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 12:22:27 -05:00
Ben Carman
bed34f453e
Use safeRewind for signWithEntropy () 2020-08-10 10:17:41 -05:00
Ben Carman
931ad6b247
Revert scalaTest to 3.2.0 () 2020-08-09 11:09:47 -05:00
Ben Carman
1a8013242b
Fix for Wallet confirmed states ()
* Fix for Wallet confirmed states

* Only process if we do not have the header
2020-08-08 08:12:30 -05:00
Ben Carman
f26d9e63d8
Docs: Remove WalletApi disclaimer () 2020-08-07 14:17:14 -05:00
Ben Carman
83906d738e
Docs: Address Queue ()
* Docs: Address Queue

* docs: add configuration options
2020-08-07 12:32:22 -05:00
Ben Carman
26aee5eb6b
Better return message for bitcoin-s-cli stop () 2020-08-07 12:31:58 -05:00
Scala Steward
943c9e3112
Update scalatest to 3.2.1 () 2020-08-07 07:03:42 -05:00
Scala Steward
d09c5ccc39
Update scalacheck-1-14 to 3.2.1.0 () 2020-08-07 07:03:10 -05:00
Ben Carman
6f95c27aea
Replace localhost with 127.0.0.1 automatically () 2020-08-06 18:24:48 -05:00
Chris Stewart
d31806f76f
Add synchronous version of StartStop ()
* Add synchronous version of StartStop

* Use ben's suggestion of StartStopAsync extending StartStop
2020-08-06 18:24:12 -05:00
Ben Carman
e4e81d8546
Allow NonWitness and Witness UTXOs in same InputPSBTMap () 2020-08-06 17:58:43 -05:00
Ben Carman
d9024b1752
Have wallet shuffle inputs and outputs () 2020-08-05 16:03:27 -05:00
Ben Carman
4323cd7048
Drop older headers on chain update () 2020-08-05 14:14:21 -05:00
Ben Carman
29c5bffb3c
Stop requesting merkle block messages while in neutrino mode () 2020-08-05 13:00:04 -05:00
Ben Carman
f8ca35b1c0
Add mempool.space as a fee provider () 2020-08-05 09:26:06 -05:00
rorp
b044b6400d
Implement Wallet.listTransactions() () 2020-08-05 07:21:12 -07:00
Ben Carman
576d455924
Add back chain index after creating a temp table () 2020-08-04 16:57:41 -05:00