bitcoin-s/docs
Chris Stewart 76a3edd0af 2020 04 02 get new address queue (#1299)
* WIP: Build queue for getnewaddress

* Implement background thread to process requests to getNewAddress so that we fix issue 1009 with it's async issues

* Run scalafmt

* Replace the mutable.ArrayBuffer in AddressHandling with ConcurrentLinkedQueue

* Put FundTransactionhandling.fundRawTransactionInternal's call to getNewChangeAddress() into the for expression so we don't generate an address when the funding of the transaction fails when selecting utxos

* Move thread initialization out of method

* Switch to using ArrayBlockingQueue, which will block thread with .take() so we don't need to loop constantly, add 'addressQueueSize' and 'addressQueueTimeout' configurations

* Update wallet-test/src/test/scala/org/bitcoins/wallet/AddressHandlingTest.scala

Co-Authored-By: rorp <rorp@users.noreply.github.com>

* Add error handling to return the failed future if the queue is full, add a unit test for when the queue is full

* Run scalafmt

* Rebase

* Add scaladoc for throwing an exception

* Run scalafmt again

Co-authored-by: rorp <rorp@users.noreply.github.com>
2020-04-10 14:19:39 -05:00
..
applications Constructed simple Bitcoin-S wallet GUI (#1285) 2020-03-31 14:30:24 -05:00
chain Order website sidebar by project, fix capitalization (#1226) 2020-03-13 09:54:07 -05:00
config 2020 04 02 get new address queue (#1299) 2020-04-10 14:19:39 -05:00
core Added Tables of Content to the bigger docs using doctoc, updated signing-transactions.md (#1319) 2020-04-08 16:51:37 -05:00
key-manager Add disclaimers to the wallet/key-manager around API breaking changes… (#1237) 2020-03-15 12:39:01 -05:00
node Change NodeCallbacks to Future[Unit] s (#1206) 2020-04-03 08:57:41 -05:00
rpc Remove unused imports in docs 2020-03-12 17:30:59 -05:00
secp256k1 2020 03 17 secp256k1jni md (#1248) 2020-03-18 05:51:54 -05:00
testkit Add testkit md (#1234) 2020-03-15 12:39:43 -05:00
wallet GetAddress Wallet API call (#1287) 2020-04-09 15:33:11 -05:00
contributing-website.md Actually add all files for 0.3.0 on the website so they show up (#1256) 2020-03-19 07:32:02 -05:00
contributing.md Add section to contributing.md for when travis ci won't run for new contributors (#1135) 2020-02-19 06:51:28 -06:00
getting-setup.md Added Tables of Content to the bigger docs using doctoc, updated signing-transactions.md (#1319) 2020-04-08 16:51:37 -05:00
getting-started.md Add a philsophy section on getting-started.md, add missing libraries (#1251) 2020-03-18 10:11:06 -05:00
security.md Add new GPG key (#1263) 2020-03-23 09:46:56 -05:00
windows-users.md New doc for Windows users (#572) 2019-07-08 15:01:23 -05:00