Commit graph

11401 commits

Author SHA1 Message Date
Devin Bileck
0bab863ee9
Fix command shown in README used to install collectd service
The install_collectd_debian.sh script reads user input to obtain the
onion address. However, when you pipe the output of curl into the shell
you're making the script text be standard input of the shell, which
takes it in as commands to run. After that, there's nothing left to
read. Even if it were to try, it wouldn't get anything from the terminal
input, because it's not connected to it. The pipe has replaced standard
input for the shell process.

Instead, create a pipe for bash to read the output of curl from and
provide it as the script file argument. In this case, the standard input
of the script is still connected to the terminal, and read will work.
2020-06-17 22:35:02 -07:00
Devin Bileck
83e194686d
Update install scripts for Git LFS 2020-06-17 22:35:01 -07:00
Chris Beams
4a18ca8ecf
Link to project management process
See bisq-network/admin#49
2020-06-17 13:24:18 +02:00
Petr Hejna
4fa95679a3
Fix darkmode color of warkining-box 2020-06-16 22:12:41 +02:00
ncstdc
9d327dc0d0
Change wording
Move funds to Bisq wallet > Keep funds in Bisq wallet
2020-06-16 11:32:41 -05:00
ghubstan
258d1801d2
Factor duplicate unlocked wallet checks into new method
Response to comment in PR 4299:
https://github.com/bisq-network/bisq/pull/4299#discussion_r440769032

This PR should be reviewed/merged after PR 4309.
https://github.com/bisq-network/bisq/pull/4309
2020-06-16 12:48:41 -03:00
jmacxx
37331cde31
Increase price precision in Offer Book chart (altcoins)
In the Offer Book Chart, altcoins were displayed with prices
having only 3 decimal places of precision.  This resulted in
not being able to see any meaningful prices across the
x-axis because they were all the same, e.g. ETH=0.025
Instead it should show 8 digits of precision for altcoins.
So for example ETH=0.02456914
Change the rule from if price begins 0.000 then display
higher precision, to if price begins 0.0 then display higher
precision.

Fixes #4251
2020-06-15 21:59:21 -05:00
ghubstan
bac3ed5697
Call core wallets service methods from CoreApi
This change is a refactoring of the gRPC Wallets service
for the purpose of making CoreApi the entry point to
all core implementations.  These changes should have been
made in PR 4295.
See https://github.com/bisq-network/bisq/pull/4295

The gRPC Wallet proto def name was changed to Wallets because
this service manages BSQ and BTC wallets, and GrpcWalletService
was changed to GrpcWalletsService for the same reason.

This PR should be reviewed/merged after PR 4308.
See https://github.com/bisq-network/bisq/pull/4308

This PR's branch was created from the PR 4308 branch.
2020-06-15 16:43:26 -03:00
ghubstan
a7542e98bf
Add rpc method 'createpaymentacct'
This addresses task 4 in issue 4257.
    https://github.com/bisq-network/bisq/issues/4257

This PR should be reviewed/merged after PR 4304.
    https://github.com/bisq-network/bisq/pull/4304

This new gRPC PaymentAccounts service method creates a dummy
PerfectMoney payment account for the given name, number and fiat
currency code, as part of the required "simplest possible trading
API" (for demo).   An implementation supporting all payment
methods is not in the scope.

Changes specific to the new rpc method implementation follow:

* New createpaymentacct method + help text was added to CliMain.
  Help text formatting was also changed to make room for larger
  method names and argument lists.

* The PaymentAccount proto service def was renamed PaymentAccounts
  to avoid a name collision, and the new rpc CreatePaymentAccount
  was made part of the newly named PaymentAccounts service def.

* New GrpcPaymentAccountsService (gRPC boilerplate) and
  CorePaymentAccountsService (method implementations) classes were
  added.

* The gRPC GetPaymentAccountsService stub was moved from GrpcServer
  to the new GrpcPaymentAccountsService class, and
  GrpcPaymentAccountsService is injected into GrpcServer.

* A new createpaymentacct unit test was added to the bats test
  suite (checks for successful return status code).

Maybe bit out of scope, some small changes were made towards making
sure the entire API is defined in CoreApi, which is used as a
pass-through object to the new CorePaymentAccountsService.  In the
next PR, similar refactoring will be done to make CoreApi the
pass-through object for all of the existing CoreWalletsService
methods.  (CoreWalletsService will be injected into CoreApi.)
In the future, all Grpc*Service implementations will call core
services through CoreApi, for the sake of consistency.
2020-06-15 14:32:14 -03:00
huey735
07133421a6
Add link to scripts
Pointing to devinbileck's install_java scripts.
2020-06-15 12:01:21 +00:00
sqrrm
bdb7807131
Sign accounts with same name
If the user has an account that can sign, it signs other accounts with
the same holder name when they are added, or on startup if one of
several accounts with the same name got signer rights.
2020-06-14 20:08:22 +02:00
sqrrm
f02772e3a2
Add getOwnerId to PaymentAccountPayload for owner name comparison 2020-06-14 20:07:41 +02:00
ghubstan
b1228e5ea7
Add rpc method 'getaddressbalance'
This addresses task 2 in issue 4257
	https://github.com/bisq-network/bisq/issues/4257

This new gRPC Wallet service method displays the balance and number
of confimirmations of the most recent transaction for the given BTC
wallet address.

The new method required the usual boilerplate changes to grpc.proto,
CliMain, and GrpcWalletService.

Two unit tests to check error msgs was added to cli/test.sh.
2020-06-14 14:23:47 -03:00
ghubstan
2e415de4ad
Replace duplicate code in getFundingAddresses
Cleaned up the method body and improved the returned string's
formatting.  Also added a line for this method in the CLI help text.
2020-06-14 13:05:37 -03:00
sqrrm
86062d0ba7
Merge pull request #4302 from wiz/update-wiz-seednodes
Add V3 seednodes wizseed3 and wizseed7, retire seednode ef5qnzx6znifo3df
2020-06-14 17:42:03 +02:00
sqrrm
e338d84d93
Merge pull request #4298 from petrhejna/input-validation-for-voting-stake
Add validation for max voting-stake
2020-06-14 17:37:30 +02:00
sqrrm
284c5c2446
Merge pull request #4297 from petrhejna/add-revolut-currencies
Add all available Revolut currencies
2020-06-14 17:03:49 +02:00
Petr Hejna
1c8b062bf2
Add all available Revolut currencies 2020-06-14 16:47:07 +02:00
sqrrm
6aae5eb4ab
Merge pull request #4283 from jmacxx/restore_wallet_date_empty_feedback
Warn when restoring wallet seedwords without date
2020-06-14 15:08:22 +02:00
wiz
6100dc881d
Add V3 seednodes wizseed3 and wizseed7, retire seednode ef5qnzx6znifo3df
As part of the Tor V3 upgrade, and the effort to increase the number of
Bisq seednodes from 8 to 12, this PR adds 2 new V3 seednodes, and will
start the process to retire the old V2 seednode ef5qnzx6znifo3df.

The ef5qnzx6znifo3df seednode will continue operating for 2-3 months
during the retirement phase-out period, after which time we can filter
it out from the network for clients who have not upgraded if necessary.
2020-06-14 18:29:20 +09:00
ghubstan
85c96764fb
Add rpc method 'getfundingaddresses'
This addresses task #1 in issue https://github.com/bisq-network/bisq/issues/4257.

This new gRPC WalletService method displays the BTC wallet's list of
receiving addresses.  The balance and number of confirmations
for the most recent transaction is displayed to the right of each
address.  Instead of returning a gRPC data structure to the client,
the service method returns a formatted String.

If the BTC wallet has no unused addresses, one will be created and
included in the returned list, and it can be used to fund the wallet.

The new method required injection of the BtcWalletService into CoreWalletsService,
and the usual boilerplate changes to grpc.proto, CliMain, and GrpcWalletService.

Some of the next PRs (for #4257) will require some common functionality within
CoreWalletsService, so these additional changes were included:

  * a private, class level formatSatoshis function
  * a public getNumConfirmationsForMostRecentTransaction method
  * a public getAddressBalance method
  * a private getAddressEntry method

A unit test that verifies a successful return status was added to cli/test.sh.
2020-06-13 19:59:45 -03:00
Petr Hejna
eb2caff9f4
Add validation for max voting-stake 2020-06-13 02:43:55 +02:00
ghubstan
ec66b14986
Add rpc wallet(s) protection tests
This commit includes the following changes:

 * New tests for methods `lockwallet`, `unlockwallet`,
   `removewalletpassword`, and `setwalletpassword`.

 * New `getbalance` method error handing tests to verify
   error message correctness when wallet is locked.

 * Update to `getversion` method test -- now expects `1.3.4`.

 * Check for new `[params]` column header in help text.
2020-06-12 15:56:19 -03:00
ghubstan
b1146fdd12
Rename CoreWalletService -> CoreWalletsService
This change fixes the ambiguity in the original class name, which
implied it was a btc wallet service, not a bsq and btc wallets service.
2020-06-12 15:24:01 -03:00
sqrrm
9fcc4da738
Add ReceiverSelectorTest 2020-06-11 20:09:46 +02:00
sqrrm
752abce61e
Weighted payout scheme
Fix some conflicts from an earlier rebase
2020-06-11 19:40:25 +02:00
chimp1984
77362ff642
Add list to filter to set btc fee receiver addresses 2020-06-11 19:00:05 +02:00
Christoph Atteneder
289e013500
Update copyright notice 2020-06-11 13:29:23 +02:00
sqrrm
90583817b2
Merge pull request #4291 from ripcurlx/only-apply-fix-in-edit-offer-screen
Apply fix for #2798 only in edit offer view
2020-06-11 11:02:21 +02:00
sqrrm
7e0c82a791
Merge pull request #4153 from eboukamza/add-blockchain-explorer
Add blockchair mainnet and testnet explorers
2020-06-11 10:53:52 +02:00
Christoph Atteneder
8bb3386340
apply fix for #2798 only in edit offer view 2020-06-11 10:52:35 +02:00
Christoph Atteneder
2f344f4bf1
Update data stores for v1.3.5 2020-06-11 10:30:01 +02:00
Christoph Atteneder
f422b3fdce
Update bitcoinj checkpoints 2020-06-11 10:29:55 +02:00
sqrrm
94e110d307
Merge pull request #4290 from ripcurlx/update-data-stores-after-shutdown
Update data stores for v1.3.5
2020-06-11 10:27:26 +02:00
Christoph Atteneder
10d6b35cc5
Update data stores for v1.3.5 2020-06-10 16:40:23 +02:00
Christoph Atteneder
6d7fcc178b
Update bitcoinj checkpoints 2020-06-10 16:26:56 +02:00
wiz
4ee2f355dc
Update IPs and onions for wiz Bitcoin nodes 2020-06-07 11:07:42 +02:00
sqrrm
2ebe7b8959
Merge pull request #4285 from wiz/update-wiz-bitcoin-nodes
Update IPs and onions for wiz Bitcoin nodes
2020-06-07 11:05:30 +02:00
wiz
dbc4574ea3
Update IPs and onions for wiz Bitcoin nodes 2020-06-07 17:04:11 +09:00
Christoph Atteneder
92ee247fa7
Bump version number for v1.3.5 release 2020-06-06 08:44:41 +02:00
jmacxx
4c7456e1cb
Warning when restoring wallet seedwords without date
When the user restores a BIP39 wallet from seed words there is
an optional 'wallet date' field.  If the user does not enter that
field the chain scan will be a lengthy process.
Issue a popup message to the user in this case, informing them
that the synch will take a long time and can be reduced by either
specifying the wallet creation date or the date when Bisq introduced
BIP39 seed words.

Fixes #3766
2020-06-04 17:39:24 -05:00
Christoph Atteneder
04872e03ee
Merge pull request #4281 from sqrrm/bond-comparator
Add proper comparators to BondsView
2020-06-04 13:51:44 +02:00
Christoph Atteneder
4a832b4c59
Merge pull request #4236 from sqrrm/sign-pob-layout
Improve proof of burn layout
2020-06-04 13:44:02 +02:00
sqrrm
b9d853c499
Merge pull request #4282 from mrosseel/patch-1
Add Readme section on updating a pricenode
2020-06-04 13:17:53 +02:00
sqrrm
06d6953a22
Merge pull request #4230 from cd2357/table-rows-alternate-colors
More readable tables and lists: Alternate row background colors
2020-06-04 13:12:09 +02:00
sqrrm
bd39f05859
Merge pull request #4195 from jmacxx/fix_getsupport_traderchat
Fix Trader Chat row selection and unread message count
2020-06-04 13:09:48 +02:00
sqrrm
1a62f6b8b8
Merge pull request #4193 from jmacxx/add_paymentmethod_openoffers
Display "Payment Method" column in Open Offers view
2020-06-04 12:32:06 +02:00
mrosseel
54cfc7b563
add commands to update the pricenode 2020-06-04 10:53:21 +02:00
sqrrm
50042fa249
Add proper comparators to BondsView 2020-06-03 16:48:52 +02:00
sqrrm
ca9665fa3c
Sign unsigned keys
Legacy arbitrator can sign unsigned signed witness signer pubkeys
To sign, from legacy arbitrator support, ctrl+O
2020-06-03 15:44:04 +02:00