A decentralized bitcoin exchange network
Find a file
ghubstan dc6144d337
Refactor BtcWalletService to let api override fee rates
BtcWalletService was changed to allow the api to override tx fee
rates from the sendbsq and sendbtc methods.  The api methods will
still be able to use the network fee service and custom tx fee rate
preference, and set / unset the custom tx fee rate preference, but
the change will permit the addition of an optional txFeeRate parameter
to the sendbsq and sendbtc methods (todo).  A few other minor changes
(style and removal of never thrown ex spec) were also made to this class.

Two BtcWalletService methods were refactored.

- The redundant (was always true) boolean isSendTx argument was removed
  from the completePreparedVoteRevealTx method signature.

- The redundant (was always true) boolean useCustomTxFee was removed
  from the completePreparedBsqTx method signature.

- The completePreparedSendBsqTx method was overloaded with a 2nd parameter
  (Coin txFeePerVbyte) to allow api to override fee service and custom
  tx fee rate when sending BSQ or BTC.

- The completePreparedBsqTx method was overloaded with a 3rd parameter
  (Coin txFeePerVbyte) to allow api to override fee service and custom
  tx fee rate when sending BSQ or BTC.

The following line was deleted from the completePreparedBsqTx method
because txFeePerVbyte is now an argument:

	Coin txFeePerVbyte = useCustomTxFee ? getTxFeeForWithdrawalPerVbyte() : feeService.getTxFeePerVbyte();

This useCustomTxFee value was always true, and redudant here because
getTxFeeForWithdrawalPerVbyte() returns feeService.getTxFeePerVbyte()
or the custom fee rate preference. i.e.,

Coin txFeePerVbyte = useCustomTxFee ? getTxFeeForWithdrawalPerVbyte() : feeService.getTxFeePerVbyte();

	is equivalent to

Coin txFeePerVbyte = getTxFeeForWithdrawalPerVbyte();

LockupTxService, UnlockTxService, BsqSendView, and BsqTransferService
were adjusted to this BtcWalletService refactoring.
2020-12-04 14:17:24 -03:00
.github Protect priority issues from stale bot 2020-02-18 12:35:53 +01:00
.idea Rename :protodefintion subproject to :proto 2020-03-26 17:37:37 +01:00
apitest Change sendbsq's amount parameter type to String 2020-12-02 14:52:05 -03:00
assets/src Make codacy happy 2020-09-21 12:40:53 -03:00
cli/src Change sendbsq's amount parameter type to String 2020-12-02 14:52:05 -03:00
common/src Merge branch 'master' into 20-pr-change-requests-A 2020-11-26 17:19:00 -03:00
core Refactor BtcWalletService to let api override fee rates 2020-12-04 14:17:24 -03:00
daemon/src/main Use ListenableFuture and callback when requesting tx fee 2020-12-01 21:10:47 -03:00
desktop Refactor BtcWalletService to let api override fee rates 2020-12-04 14:17:24 -03:00
docs Update release process to match new trade statistics delivery 2020-11-13 12:29:29 +01:00
gradle Upgrade bitcoinj to commit 60b4f2f 2020-11-23 14:39:26 -03:00
inventory/src/main Clean tor dir at startup 2020-11-17 20:17:44 -05:00
monitor Merge pull request #4628 from chimp1984/improve-read-file-handling 2020-11-02 17:36:21 +01:00
p2p/src Merge branch 'master' of github.com:bisq-network/bisq into release/v1.5.0 2020-11-25 14:05:37 +01:00
pricenode Remove test cases for HitBTC pricenode data provider class 2020-11-09 09:31:07 +01:00
proto/src/main/proto Change sendbsq's amount parameter type to String 2020-12-02 14:52:05 -03:00
relay Revert to SNAPSHOT version 2020-11-25 13:46:24 +01:00
scripts Add shell script for creating DAO genesis transaction 2019-06-24 13:15:37 -07:00
seednode Merge pull request #4846 from bisq-network/release/v1.5.0 2020-11-26 12:42:14 +01:00
statsnode/src/main Remove Storage and FileManager from logback 2020-10-03 12:48:15 -05:00
.editorconfig Do not strip trailing whitespace in Git diffs 2020-01-10 19:48:26 +01:00
.gitattributes Track p2p data store files using Git LFS 2020-04-29 12:10:11 +02:00
.gitignore Ignore Structure101 Workspace files 2020-01-10 19:48:26 +01:00
.travis.yml Remove Slack notification in travis build 2020-09-01 09:42:33 +02:00
build.gradle Revert to SNAPSHOT version 2020-11-25 13:46:24 +01:00
CODEOWNERS Remove @cbeams as build and pricenode code owner 2020-06-28 11:23:36 +02:00
CONTRIBUTING.md Link to project management process 2020-06-17 13:24:18 +02:00
gradle.properties Increase Gradle HTTP timeouts from 30 => 120 seconds 2018-03-22 10:39:52 +01:00
gradlew Bump gradle wrapper to version 5.6.4 (#3627) 2019-11-18 09:31:58 +01:00
gradlew.bat Bump gradle wrapper to version 5.6.4 (#3627) 2019-11-18 09:31:58 +01:00
LICENSE add basic wallet, update nav buttons, move unused img 2014-04-24 16:55:55 +02:00
Makefile Add 'make undeploy' target to kill all running nodes 2019-12-03 12:04:39 +01:00
pull_request_template.md Added a Pull Request template 2019-11-27 13:46:54 +01:00
README.md jdk10 is no longer needed to build and run the test suite 2019-08-14 18:11:57 +02:00
settings.gradle Add inventory module 2020-10-23 01:17:32 -05:00

Bisq

Build Status

What is Bisq?

Bisq is a safe, private and decentralized way to exchange bitcoin for national currencies and other digital assets. Bisq uses peer-to-peer networking and multi-signature escrow to facilitate trading without a third party. Bisq is non-custodial and incorporates a human arbitration system to resolve disputes.

To learn more, see the doc and video at https://bisq.network/intro.

Get started using Bisq

Follow the step-by-step instructions at https://bisq.network/get-started.

Contribute to Bisq

See CONTRIBUTING.md and the developer docs.