Commit graph

7538 commits

Author SHA1 Message Date
Manfred Karrer
c0d2d534bc
Fix reorg issues
In case of reorgs there are several scenarios:
1. We have no snapshot yet: We start from genesis again
2. We have a snapshot and go back to that: We use last snapshot
3. We have a snapshot but the reorg does deeper so our last block in the
snapshot is invalid as well: -> we go back to genesis

There are many edge cases

There was one important bug fix with a == instead of an equals
comparison.

Added also the check that the first block need to be the genesis block.

Unfortunately the chainHeight is set to the genesis height initially
which is not right (should be 0 as we dont have any block and therefore
no chainHeight). To change that will be a bit risky, but for mainnet we
should consider it. There are several usages where a change might break
stuff, for instance the parameter handling.
2018-12-05 02:12:38 +01:00
Manfred Karrer
409d4d4c96
Merge pull request #2055 from devinbileck/consolidate-install_java.sh
Consolidate install_java.sh scripts
2018-12-05 02:01:36 +01:00
Manfred Karrer
a42f91707e
Add and rename exception 2018-12-05 00:39:12 +01:00
Manfred Karrer
dd18c6e8c7
Remove log for duration 2018-12-05 00:38:52 +01:00
Devin Bileck
85de38a063
Consolidate install_java.sh scripts
Rather than having a separate install_java.sh script for distributions
that use a different package manger, I updated install_java.sh to
handle package managers used by various Linux distributions.
2018-12-04 14:50:37 -08:00
Manfred Karrer
7eafb3c874
Merge pull request #2050 from ripcurlx/improve-build-scripts
Add linux workaround in release script and other minor fixes
2018-12-04 18:24:58 +01:00
Christoph Atteneder
b16d75ff2c
Merge pull request #2039 from devinbileck/install_java.bat
Add script for easy installation and configuration of the necessary JDK on Windows
2018-12-04 15:18:16 +01:00
Christoph Atteneder
d96ee9ce01
Fix wrong path in signing process 2018-12-04 15:13:33 +01:00
Christoph Atteneder
74213ed9c3
Implement workaround for Linux build 2018-12-04 15:13:01 +01:00
Christoph Atteneder
03e077c09e
Ignore release folder in desktop module 2018-12-04 15:12:54 +01:00
sqrrm
317c0fb789
Don't validate display fields in proposal display 2018-12-04 14:20:44 +01:00
Manfred Karrer
547c4f0ff6
Add better comment for opReturn data errors 2018-12-04 13:16:00 +01:00
Devin Bileck
24aaf2430d
Update build.md to mention scripts directory 2018-12-03 16:06:32 -08:00
Devin Bileck
0dc924b8e2
Add install_java.bat
This batch file allows for easy installation and configuration of the necessary JDK on Windows.
2018-12-03 16:05:59 -08:00
Christoph Atteneder
1e5cddd71c
Set back version to SNAPSHOT release 2018-12-03 22:41:49 +01:00
Christoph Atteneder
091430ede8
Bump version number 2018-12-03 21:51:32 +01:00
Manfred Karrer
af73a1840b
Merge pull request #2036 from ripcurlx/update-build-scripts
Remove 32bit versions and update for Java 9+ support
2018-12-03 21:48:44 +01:00
Christoph Atteneder
07ae9c31a4
Update icon 2018-12-03 19:39:15 +01:00
Christoph Atteneder
309f4b98a8
Fix wrong path 2018-12-03 19:38:47 +01:00
Christoph Atteneder
436f27b19d
Remove 32bit versions and update for Java 9+ support 2018-12-03 16:48:53 +01:00
Christoph Atteneder
6bdbe41023
Merge pull request #2035 from ripcurlx/update-translations
Update translations
2018-12-03 12:44:03 +01:00
Christoph Atteneder
ee30a89892
Update translations 2018-12-03 12:43:09 +01:00
Christoph Atteneder
3527f8583e
Merge pull request #2034 from ripcurlx/ui-improvements
UI improvements for release
2018-12-03 10:10:37 +01:00
Christoph Atteneder
002f8f3771
Force address hyperlinks to be centered 2018-12-03 10:03:18 +01:00
Manfred Karrer
60681065b0
Merge pull request #2032 from devinbileck/handle-cli-output_windows.txt-with-CRLF-line-endings
Handle cli-output_windows.txt with CRLF line endings
2018-12-03 09:51:00 +01:00
Manfred Karrer
8c7bd7685b
Merge pull request #2031 from devinbileck/normalize-line-endings
Normalize line endings
2018-12-03 09:50:34 +01:00
Christoph Atteneder
083856aace
Extend row height 2018-12-03 09:47:52 +01:00
Christoph Atteneder
77989ebf91
Fix scrolling issue 2018-12-03 09:41:23 +01:00
Christoph Atteneder
d9ae83525a
Change max input length 2018-12-03 09:02:28 +01:00
Christoph Atteneder
ceeefa4367
Add button hover effect 2018-12-03 08:18:47 +01:00
Christoph Atteneder
4be4a88b97
Add new splash screen design 2018-12-03 08:17:28 +01:00
Devin Bileck
f3799187cc
Handle cli-output_windows.txt with CRLF line endings
On Windows, it is likely that cli-output_windows.txt will have CRLF line
endings since core.autocrlf is normally true which converts LF endings
to CRLF on checkout. This causes BisqHelpFormatterTest to fail since
the actual content it is compared against uses LF endings.

As a result, when loading the cli-output_windows.txt file normalize
line endings to LF.
2018-12-02 22:36:00 -08:00
Devin Bileck
b85223810c
Normalize line endings
Change line endings for desktop/src/main/resources/fonts/OFL.txt to LF
rather than CRLF for consistency.
2018-12-02 22:04:50 -08:00
Manfred Karrer
de54518839
Set version 0.9.0 2018-12-03 00:38:44 +01:00
Manfred Karrer
538c0bb691
Add default value to avoid null pointer 2018-12-03 00:06:28 +01:00
Manfred Karrer
b8c85983e3
Remove devMode check 2018-12-03 00:06:13 +01:00
Manfred Karrer
ff89759bd0
Add progressbar to P2P network state in footer 2018-12-02 23:44:51 +01:00
Manfred Karrer
4f10ef4287
Republish DAO data with < 4 peers for testnet or regtest 2018-12-02 23:05:59 +01:00
Manfred Karrer
d4729751e8
Fix handling of reorgs
- apply snapshot in case of a reorg and if the snapshot is still empty.
Set chain height to genesis height.
- Handle case if cycles are empty
- Add checks for getLast for linked lists
2018-12-02 22:31:38 +01:00
Manfred Karrer
e1e9180291
Fix wrong URL in DAO views 2018-12-02 21:21:50 +01:00
Manfred Karrer
8add4903fb
Fix testnet genesis tx height 2018-12-02 20:31:41 +01:00
Manfred Karrer
c4145b8312
Set new testnet genesis tx, increase DAO periods 2018-12-02 19:48:46 +01:00
Manfred Karrer
145f03733c
Add trade statistic db files for testnet and regtest
- gives testnet and regtest a more realistic environment (most assets
would be disabled due lack of trade activity otherwise as testnet and
regtest ahs dao enabled)
2018-12-02 19:43:20 +01:00
Manfred Karrer
fb26d3d0b8
Update db files 2018-12-02 19:41:54 +01:00
Manfred Karrer
42e0d410d2
Detect if DAO full node has no BTC core running
If DAO full mode is used Bitcoin core need to be running. If not an RPC
exception is thrown. We detect that and show a popup with instructions.
2018-12-02 18:12:45 +01:00
Manfred Karrer
7c2d10066f
Fix flickering of json popup, add esc handler
- popup was visible shortly in wrong position
- pressing escape did not close popup
2018-12-02 15:28:30 +01:00
Manfred Karrer
4cdbc816ce
Fix missing reason for dispute fields
- reason for dispute fields have been not visible in dispute payout
window (row index of next iem was not increased)
- Moved payout amount fields to second column to not exceed window
height
- Set window width wider
- Cleanups
2018-12-02 15:19:07 +01:00
Manfred Karrer
a6eedf97c5
Add TODO 2018-12-02 14:53:57 +01:00
Manfred Karrer
2ba21f0277
Update display string 2018-12-02 14:24:37 +01:00
Manfred Karrer
5b17d3d571
Merge pull request #2028 from ManfredKarrer/do-not-use-tor-for-btcj-testnet
Do not use tor for btcj testnet
2018-12-02 13:39:10 +01:00