Commit graph

3004 commits

Author SHA1 Message Date
Oscar Guindzberg
48f159d694 TxBroadcaster improvements 2019-03-13 19:37:56 -03:00
Manfred Karrer
d235e9c08e
Avoid logging at startup 2019-03-13 12:50:05 -05:00
Manfred Karrer
76543bb039
Merge pull request #2528 from ben-kaufman/get-only-accepted-proposals
Fix bug UI treats rejected proposals as accepted
2019-03-12 15:05:57 -05:00
Manfred Karrer
dbb0ba32e1
Add check for address 2019-03-11 22:15:33 -05:00
Manfred Karrer
f56041383f
Update UI, remove checkArgument call 2019-03-11 20:32:39 -05:00
Manfred Karrer
bbec682d98
Add UI for Dao state monitor
Refactor dao state monitor domain.
Add support for requesting all hashed from genesis from a peer which is
in conflict (can help to find at which block the issue started).
2019-03-11 18:32:48 -05:00
Oscar Guindzberg
16f01332ac Stress on the label that Bisq will be shutdown after restore 2019-03-11 16:37:25 -03:00
Manfred Karrer
cdce61c128
Merge pull request #2521 from ben-kaufman/dao-feedback-popup
Added  feedback popup for DAO test users
2019-03-11 10:44:33 -05:00
Manfred Karrer
c00cf99f22
Merge pull request #2524 from ManfredKarrer/improve-restore-wallet-from-seed-process
Improve restore wallet from seed process
2019-03-11 09:13:53 -05:00
Ben Kaufman
fee8d9ff54 Get only accepted bonded role proposals
Fix rejected bonded role proposal showing as accepted
2019-03-11 14:34:22 +02:00
Ben Kaufman
d07493efbc Get only accepted remove asset proposals
Fix rejected remove asset proposals showing as accepted
2019-03-11 14:22:53 +02:00
Ben Kaufman
ea4466c479 Use services instead of wallet and fix text 2019-03-11 08:13:44 +02:00
Ben Kaufman
a5a068a246 Fix popup wording 2019-03-11 06:45:03 +02:00
Manfred Karrer
d3349864ae
Automatically restart after restore 2019-03-10 23:40:25 -05:00
Manfred Karrer
82ed732bdd
Replace addTransactionConfidenceEventListener
Use addCoinsReceivedEventListener and addCoinsSentEventListener instead
of addTransactionConfidenceEventListener as
addTransactionConfidenceEventListener has much more overhead.
I could not reproduce anymore the balance issues I had when I used that
approach during development earlier.
2019-03-10 23:26:26 -05:00
Manfred Karrer
9ed109330a
Fix index out of bound issues
At Capabilities I got an exception after going back from a new dev
branch to master and getting p2p network data from nodes still running
on the dev branch as that newly added capability was outside of the
existing scope.

I found another potential issue with DaoPhase.Phase and added a check
there as well.
2019-03-10 22:40:26 -05:00
Manfred Karrer
e7bfba0b3c
Add comment 2019-03-10 22:11:40 -05:00
Manfred Karrer
d09e770751
Add parseBlockchainComplete check
Add parseBlockchainComplete check for onParseBlockChainComplete
before calling onParseBlockChainComplete to avoid duplicated calls of
onParseBlockChainComplete. Happened if there was only one seed node.
2019-03-10 22:11:32 -05:00
Manfred Karrer
fcd7997582
Create chain of dao state hashes for monitoring consensus issues
We create a chain of hashes of the dao state starting from the genesis
block height and using the previous hash in the hash. This ensures that
the history need to be correct if a particular hash at a block height is
correct. We request from seed nodes the last 10 hashes and broadcast to
our peers our hash at each new block. We build our list in memory and
listen on the new onSnapShotApplied event to start building our chain
from the genesis height up to the last snapshot block and after that
from each parsed block.
If we detect a mismatch we store it in a collection and the UI can show
a warning to the user.
We added also the onDaoStateChanged handler to the DaoStateListener.
This event is called after all parsing is completed and listeners have
completed their work. We must not use time based delays in the listener
code otherwise we would get changed our dao state after that event.
To detect such we added a assert method to throw an exception if the
dao state gets changed after the allowDaoStateChange is set to false.
2019-03-10 22:10:12 -05:00
Ben Kaufman
f7f91da927 Added feedback popup for DAO test users 2019-03-10 15:43:49 +02:00
Manfred Karrer
40b6505fd9
Add monitoring for hash of DaoState 2019-03-08 20:23:44 -05:00
Manfred Karrer
2a4270db3c
Merge branch 'master' into add-hash-of-dao-state 2019-03-08 13:58:41 -05:00
Manfred Karrer
22c03884d5
Add comment 2019-03-08 13:51:49 -05:00
Manfred Karrer
0d0713bad5
Remove optional setting of pubKeyScript
We want to have a deterministic dao state. The PubKeyScript in the
TxOutput was the only optional field which was only set in the
dumpBlockchainData program argument was set as it was only required for
the json dump for the explorer. It has 50 bytes of data which is about
20% of the txOutput data size. We prefer atm to avoid additional
complexity which would be created if we would handle that optional
field (e.g. exclude from hash creation).
The property might be useful as well for other use cases in future.
2019-03-08 13:47:35 -05:00
Manfred Karrer
257550ac81
Merge pull request #2515 from ManfredKarrer/make-vote-result-json-determinisitic
Make vote result json deterministic
2019-03-08 13:06:23 -05:00
Manfred Karrer
07c0d6a4ff
Update seed node operator 2019-03-08 13:01:23 -05:00
Manfred Karrer
ca01376ffc
Merge pull request #2517 from ManfredKarrer/fix-missing-balance-at-restore-from-seed-words
Fix missing balance at restore from seed words
2019-03-08 12:08:49 -05:00
Manfred Karrer
03023d6338
Remove myAddress from docs and scripts as it is not used/needed anymore 2019-03-08 10:58:53 -05:00
Manfred Karrer
28a28983dc
Add missing address entry items at restore from seed words 2019-03-07 23:41:21 -05:00
Manfred Karrer
01f3bdc557
Make vote result json deterministic 2019-03-07 17:53:30 -05:00
Manfred Karrer
9a5695dedc
Fix missing support for localhost seed node addresses 2019-03-07 17:23:05 -05:00
Manfred Karrer
1292f77daa
Merge branch 'master' of https://github.com/bisq-network/bisq 2019-03-07 16:36:54 -05:00
Christoph Atteneder
0a42b15972
Improve wording for security deposit 2019-03-07 18:15:17 +01:00
Manfred Karrer
d9f9baf87a
Update comments 2019-03-07 11:29:56 -05:00
Florian Reimair
9418c1d7a3
Fix default regtest seednodes 2019-03-07 17:08:49 +01:00
Florian Reimair
b27befed63
--myAddress property is not needed anymore 2019-03-07 17:08:49 +01:00
Florian Reimair
e15d99e8ae
Use resourceAsStream so it works on files in .jar as well 2019-03-07 17:08:49 +01:00
Florian Reimair
de93a6fa1b
Revert "Revert 2473067b090603dec983fa18995453bdd6d8de94"
This reverts commit a9ee15d9f6.
2019-03-07 17:08:49 +01:00
Manfred Karrer
75f90e56ba
Add dummy instance for deprecated payment methods
To show display string of payment method we need to create an instance
2019-03-06 22:44:49 -05:00
Manfred Karrer
1eeb47cef7
Add removed deprecated payment methods again as it would break
trade history

We got some reports that the trade history was gone and it turned out
the removal of the deprecated payment methods caused an exception when
reading the persisted closed trades. So we have to keep that code to not
break old db files.
2019-03-06 22:38:40 -05:00
Manfred Karrer
1ef854f510
Merge pull request #2127 from oscarguindzberg/bisq-version2-tx-support
Basic support for version 2 transactions.
2019-03-06 18:46:42 -05:00
Manfred Karrer
76e753f35a
Merge pull request #2478 from oscarguindzberg/bitcoinj-0.14.7
Use bitcoinj 0.14.7
2019-03-06 18:43:41 -05:00
Manfred Karrer
73eea7927a
Merge pull request #2469 from freimair/refactor_capabilities
Refactor capabilities and other P2P-related stuff
2019-03-06 18:38:23 -05:00
Manfred Karrer
ff023ce32f
Merge pull request #2504 from ben-kaufman/export-voting-history
Added button to export voting history into JSON
2019-03-06 16:52:59 -05:00
Ben Kaufman
873a57eea9 Added button to export voting history into json 2019-03-06 15:31:43 +02:00
Florian Reimair
00872427de
Get rid of Capability ordinals
github.com/AlDanial/cloc v 1.80  T=0.19 s (5.3 files/s, 5.3 lines/s)
-------------------------------------------------------------------------------
                             files          blank        comment           code
-------------------------------------------------------------------------------
 same                            0              0            913           3405
 modified                       28              0              6            145
 added                           1             18             36             58
 removed                         0              9              3            103
-------------------------------------------------------------------------------
2019-03-06 09:29:26 +01:00
Manfred Karrer
92b91ba391
Merge pull request #2500 from ManfredKarrer/remove-dev-logging
Remove Log.traceCall methods
2019-03-05 11:52:21 -05:00
Manfred Karrer
dd7c578a66
Remove if statement 2019-03-05 11:25:34 -05:00
Manfred Karrer
b711f571a4
Cleanup some log.debug calls 2019-03-05 11:24:07 -05:00
Manfred Karrer
1d0fdf4c55
Cleanup some log.trace calls 2019-03-05 11:11:04 -05:00