Commit Graph

12909 Commits

Author SHA1 Message Date
Oscar Guindzberg
52f1d37863
Complete Use segwit tx sizes
Completes 29f23fe50c
2020-11-05 19:14:50 -03:00
wiz
ae476745bd
Reduce seednode default maxconnections to 20 2020-11-05 21:30:14 +01:00
Christoph Atteneder
93806e9c2f
Merge pull request #4710 from oscarguindzberg/fee-estimation
Segwit fee estimation
2020-11-05 21:18:54 +01:00
Christoph Atteneder
35018b082a
Merge pull request #4612 from oscarguindzberg/segwit
Segwit for the trade protocol
2020-11-05 21:18:28 +01:00
Oscar Guindzberg
7740e3e56d
Fix comment 2020-11-05 11:51:44 -03:00
Oscar Guindzberg
0d59d5e872
Remove unused PAYOUT_TX_SIZE 2020-11-05 11:51:44 -03:00
Oscar Guindzberg
5f0009e1a4
Explain why legacy is used by default 2020-11-05 11:51:43 -03:00
Oscar Guindzberg
327a358446
Split segwit from legacy inputs
Goal: Have a more accurate fee calculation
2020-11-05 11:51:43 -03:00
Oscar Guindzberg
29f23fe50c
Use segwit tx sizes 2020-11-05 11:51:43 -03:00
Oscar Guindzberg
7a58bfbafa
Use SegwitAddress for fee estimation 2020-11-05 11:51:43 -03:00
Oscar Guindzberg
b2023e2366
Use tx.getVsize()
Replace tx.bitcoinSerialize().length
2020-11-05 11:51:43 -03:00
Oscar Guindzberg
6bba6a526f
Use bitcoinj 0.15.8 (commit 60b4f2f) 2020-11-05 11:51:43 -03:00
Oscar Guindzberg
dffa251e1d
Remove unused imports 2020-11-05 11:47:41 -03:00
Oscar Guindzberg
a3d7c71410
Set TRADE_PROTOCOL_VERSION to 3 2020-11-05 11:47:41 -03:00
Oscar Guindzberg
d1620c4fd7
Revert "Validate AddressEntry.segwit"
This reverts commit e49c56527825a443b794ab74cee24b12d5b9eb45.
2020-11-05 11:47:41 -03:00
Oscar Guindzberg
953a5f0bb5
Deal with P2WPKH has empty scriptSig 2020-11-05 11:47:41 -03:00
Oscar Guindzberg
3585dc95fc
Create the scriptCode the right way 2020-11-05 11:47:41 -03:00
Oscar Guindzberg
22ba9a898b
Explain why bitcoinSerialize(false) is used 2020-11-05 11:47:41 -03:00
Oscar Guindzberg
4a05b6d6d5
Revert "Construct dummy outputs with LegacyAddress"
This reverts commit b8f5c6e970fc29b705478aac8a655a73bed52a7e.
2020-11-05 11:47:40 -03:00
Oscar Guindzberg
06e5091f79
TradeWalletService use P2WSH 2020-11-05 11:47:40 -03:00
Oscar Guindzberg
161e220a4f
BtcWalletService: Use segwit addresses 2020-11-05 11:47:40 -03:00
Oscar Guindzberg
ef97daac89
Use bitcoinj 0.15.8 (commit fcec3da) 2020-11-05 11:47:38 -03:00
Christoph Atteneder
2d3c94d283
Update translations for v1.5.0 2020-11-05 11:37:35 +01:00
Christoph Atteneder
66fcde11bf
Bump version number for v1.5.0 2020-11-05 11:34:40 +01:00
sqrrm
0c4ba9019c
Merge pull request #4750 from ripcurlx/improve-translations
Improve translations
2020-11-05 11:19:16 +01:00
Bayer
7163344084
Update core/src/main/resources/i18n/displayStrings.properties
Co-authored-by: m52go <mfiver@gmail.com>
2020-11-05 09:47:31 +01:00
Bayer
80d87a728d
Apply suggestions from code review
Co-authored-by: m52go <mfiver@gmail.com>
2020-11-05 09:47:22 +01:00
Bayer
90c00097ac
Fix display strings lines 2968-3437 2020-11-05 09:47:11 +01:00
Christoph Atteneder
b8fbc74d6c
Merge pull request #4744 from sqrrm/cleanup-signed-witness
Cleanup signed witness
2020-11-05 09:42:46 +01:00
Christoph Atteneder
20aac2e5cc
Merge pull request #4747 from chimp1984/fix-initial-outlier-value-at-update
Set initial value for bsqAverageTrimThreshold at update to 5%
2020-11-05 09:25:24 +01:00
chimp1984
5817525776
Check for 0 and only apply the value in that case.
See comment at change for more background.
2020-11-04 12:54:35 -05:00
chimp1984
c9b3f9d457
Set initial value for bsqAverageTrimThreshold to 5% in case of an
update (using persisted preferences which would
have value set to 0 as it was not existing in old version)
2020-11-04 11:34:10 -05:00
sqrrm
83ee1fedb2
Merge pull request #4746 from chimp1984/cleanup-mailbox-messages-at-closed-trades
Clean up mailbox messages for closed trades
2020-11-04 15:58:20 +01:00
chimp1984
5c7906980c
Clean up mailbox messages for closed trades
Util for removing pending mailbox messages in case the
trade has been closed by the seller after confirming receipt
and a AckMessage as mailbox message will be sent by the
buyer once they go online. In that case the seller's trade
is closed already and the TradeProtocol is not executing
the message processing, thus the mailbox message would not
be removed. To ensure that in such cases (as well other
potential cases in failure scenarios) the mailbox message
gets removed from the network we use that util.
2020-11-03 22:08:38 -05:00
Christoph Atteneder
63cae1ceb1
Merge pull request #4745 from chimp1984/fix-bug-with-reading-historical-data
Fix bug with reading historical data
2020-11-03 21:56:05 +01:00
Christoph Atteneder
75f79077a9
Merge pull request #4743 from ripcurlx/add-australian-payid
Add new payment method: Australian PayID
2020-11-03 21:55:25 +01:00
chimp1984
ab5645b864
Fix issue with getting complete handler called twice from P2PService
We used a delegate method in P2PService for calling readPersisted on p2PDataStorage and peerManager.
This was from old times when those classed have not been injected classes. The complete handlers got
called from both p2PDataStorage and peerManager but we counted only P2PService as host, so the
countdown completed before the last host was really completed, leading to a nullpointer in
MainView (not always).

We removed now PersistedDataHost interface from P2PService and use P2PDataStorage and PeerManager to be added to hosts.
2020-11-03 13:01:35 -05:00
chimp1984
4161ecf239
Fix bugs with reading historical data
- Use fileName not getFileName() in readHistoricalStoreFromResources
- use complete handler once reading of all historical data is completed where we
build the ImmutableMaps and complete the readFromResources method
2020-11-03 11:48:58 -05:00
chimp1984
185d812185
Add logs for sig int 2020-11-03 11:46:41 -05:00
chimp1984
1270c8fdaf
Remove unused field 2020-11-03 11:46:25 -05:00
sqrrm
02e53304ed
Cleanup unused argument 2020-11-03 17:35:29 +01:00
sqrrm
7f734292f3
Cleanup line breaks 2020-11-03 16:59:15 +01:00
sqrrm
0f0b75c2ac
Change time dependent trade limits
This is in accordance with https://github.com/bisq-network/proposals/issues/264

Any account type that doesn't need signing can now trade the full
amount immediately, same goes for signed type accounts that are
selling.

Signed type accounts that are buying now has minimum limit (0.01 BTC) up until
30 days after getting signed, then the limit is increased to 0.5 times the max
limit (0.125 BTC) and after 60 days they get the full limits (0.25 BTC).
2020-11-03 16:58:14 +01:00
Christoph Atteneder
8fe8261a1e
Clean up code 2020-11-03 15:42:46 +01:00
Luis Aranguren
ecf9d49f65
Resolve conflicts with master 2020-11-03 15:42:23 +01:00
Christoph Atteneder
00725cff7d
Merge pull request #4740 from deusmax/trading_charts_axes
Center align tick marks text for trading charts
2020-11-03 09:33:45 +01:00
Christoph Atteneder
6677c29569
Merge pull request #4737 from ghubstan/fix-bats-test-comment
Fix bats test usage comment
2020-11-03 09:07:46 +01:00
Christoph Atteneder
b49a3eb15b
Merge pull request #4738 from chimp1984/improve-logs
Change log level at registerProposalAsBallot. Don't log full filter a…
2020-11-03 09:07:11 +01:00
Christoph Atteneder
63352496ff
Merge pull request #4739 from chimp1984/hide-proposal-delete-button
Hide proposal delete button
2020-11-03 09:06:19 +01:00
Christoph Atteneder
9da7100ef2
Merge pull request #4734 from chimp1984/show-past-deviation-in-monitor
Show past deviation in monitor
2020-11-03 09:03:14 +01:00