Commit graph

6672 commits

Author SHA1 Message Date
Manfred Karrer
ee1317c64a
Fix issue causing invalid vote reveal tx
- Set PHASE_VOTE_REVEAL duration to 2 blocks as 1 block would cause an
invalid state (confirmation block is one block after phase)
- Rename getStateBuilder to getBsqStateBuilder
2018-09-24 18:30:05 -05:00
Manfred Karrer
835db24e53
Fix threading issues with ExportJsonFilesService
- Rename JsonBlockChainExporter to ExportJsonFilesService
- Remove getBlocksFromState method
- Add ExportJsonFilesService to DaoSetup and implement DaoSetupService
- Add json dir for all json sub dirs
- Move access to bsqStateService out from thread in ExportJsonFilesService
- Only do write to disk in thread
- Sync model files
2018-09-24 17:39:23 -05:00
Manfred Karrer
aefa986467
Fix threading issues with ExportJsonFilesService
- Rename JsonBlockChainExporter to ExportJsonFilesService
- Remove getBlocksFromState method
- Add ExportJsonFilesService to DaoSetup and implement DaoSetupService
- Add json dir for all json sub dirs
- Move access to bsqStateService out from thread in ExportJsonFilesService
- Only do write to disk in thread
2018-09-24 14:03:10 -05:00
Manfred Karrer
86086c1e09
Adjust trade popup text for XMR
Fixes https://github.com/bisq-network/bisq/issues/1555
2018-09-24 13:01:33 -05:00
Christoph Atteneder
ff4e22d5f5
Merge pull request #1719 from ManfredKarrer/fix-multiple-btc-peers
Refactoring of Btc package
2018-09-24 19:26:42 +02:00
Manfred Karrer
e47c160a27
Merge branch 'master' into fix-multiple-btc-peers 2018-09-24 12:11:58 -05:00
Manfred Karrer
0b97d4f746
Merge pull request #1717 from ManfredKarrer/master
Update to libdohj 411a920e
2018-09-24 12:10:18 -05:00
sqrrm
3f87460b57
Wait to commit BSQ txOutputs to bsqStateService until after parsing
If a transaction is considered invalid it should consider all the
txOutputs to be invalid. To avoid counting a txOutput as valid it's
better to commit to stateservice only after checking the validity of the
transaction.
2018-09-24 19:04:46 +02:00
sqrrm
5dffe7159e
Check for multiple opReturns before processing txOutputs 2018-09-24 19:04:46 +02:00
sqrrm
f31bf0d5cf
Process opReturn txOutput before remaining outputs 2018-09-24 19:04:46 +02:00
sqrrm
a623fd3852
Extract opreturn post processing functions 2018-09-24 19:04:46 +02:00
sqrrm
e8b9466516
Rename processOpReturnCandidate -> isOpReturnCandidate 2018-09-24 19:04:46 +02:00
sqrrm
dc1964bda2
Parse opreturn before other outputs
Since the effects of opreturn act on the BSQ outputs it makes more sense
to parse the opreturn before parsing the remaining outputs.

Put the lock time in the LOCKUP txOutput. It makes more logical sense to
keep it there.
2018-09-24 19:04:46 +02:00
Manfred Karrer
7106f9f837
Merge remote-tracking branch 'upstream/master' 2018-09-24 11:18:02 -05:00
Manfred Karrer
bfc7320ddc
Update to libdohj 411a920e
Update dependencyVerification entries
2018-09-24 11:15:49 -05:00
Christoph Atteneder
95f42fed21
Merge pull request #1716 from ManfredKarrer/small-improvements
Small improvements
2018-09-24 06:31:57 +02:00
Christoph Atteneder
a41c20c8df
Merge pull request #1713 from ManfredKarrer/F2F-contact-info
Add contact info for seller in case of aa F2F trade
2018-09-24 06:30:25 +02:00
Manfred Karrer
c4d45ceeca
Remove AbstractLitecoinParams 2018-09-23 17:50:58 -05:00
Manfred Karrer
4227fcab85
Add package info and comment 2018-09-23 15:36:57 -05:00
Manfred Karrer
bb20264473
Move classes 2018-09-23 15:35:06 -05:00
Manfred Karrer
6f03624fd2
Add comment 2018-09-23 15:34:43 -05:00
Manfred Karrer
920ad2e1b5
Rename network package to nodes 2018-09-23 15:29:09 -05:00
Manfred Karrer
8d0f6b7556
Rename BitcoinNodes to BtcNodes 2018-09-23 15:22:20 -05:00
Manfred Karrer
361605d4e3
Rename PeerAddressesRepository to BtcNodesRepository 2018-09-23 15:21:41 -05:00
Manfred Karrer
6e90554f84
Rename WalletNetworkConfig to BtcNetworkConfig 2018-09-23 15:20:41 -05:00
Manfred Karrer
06d0a4a80a
Rename WalletSetupPreferences to BtcNodesSetupPreferences 2018-09-23 15:19:57 -05:00
Manfred Karrer
5f56d08d33
Fix package structure in tests 2018-09-23 15:18:22 -05:00
Manfred Karrer
f7d8b35b32
Add model package and move classes 2018-09-23 15:13:42 -05:00
Manfred Karrer
0d86176f4e
Further refactorings: move classes to other packages 2018-09-23 15:09:22 -05:00
Manfred Karrer
16fac73b6d
Further refactorings move classes to other packages 2018-09-23 14:56:46 -05:00
Manfred Karrer
6c7bf96fee
Move exception classes to exception package 2018-09-23 14:50:32 -05:00
Manfred Karrer
9b9d56c79c
Add missing import 2018-09-23 14:47:41 -05:00
Manfred Karrer
f3f719a632
Move btc setup classes to setup package 2018-09-23 14:46:58 -05:00
Manfred Karrer
c2df7cec7c
Merge pull request #1683 from Technohacker/fix-monero-validation
Fix Monero address validation (#1652)
2018-09-23 13:54:52 -05:00
Manfred Karrer
f0471bccfd
Warn user when closing with open offers
Fixes https://github.com/bisq-network/bisq/issues/1663
2018-09-23 13:48:01 -05:00
Manfred Karrer
ef289a2898
Add warning log 2018-09-23 13:13:38 -05:00
Manfred Karrer
ba09fbf18c
Show cancel button at QR code scan window launch
Fixes https://github.com/bisq-network/bisq/issues/1708
2018-09-23 10:35:07 -05:00
Manfred Karrer
615dd5132e
Rename addWeakRCapabilitiesListener to addWeakCapabilitiesListener 2018-09-23 10:02:14 -05:00
Manfred Karrer
38e910c366
Add contact info for seller in case of aa F2F trade
Fixes: https://github.com/bisq-network/bisq/issues/1707#issuecomment-423724283
2018-09-22 18:59:15 -05:00
Christoph Atteneder
97fb1b8ec1
Merge pull request #1712 from ManfredKarrer/PreventAppNap
Play silent sound to avoid standby mode
2018-09-22 06:52:50 +02:00
Christoph Atteneder
92f99e267f
Merge pull request #1711 from ManfredKarrer/master
Small Improvements
2018-09-22 06:50:23 +02:00
Christoph Atteneder
4fbf6bbbd9
Merge pull request #1710 from ManfredKarrer/buildUpdate
Build update
2018-09-22 06:49:28 +02:00
Manfred Karrer
416d9ba8f3
Play silent sound to avoid standby mode
Apple disabled options do avoid App Nap in recent OSX versions.
Playing an inaudible sound marks the application for preventing to get
set to standby mode as well as App Nap mode.
The alternative to that "hack" would be to add OSX native code, but
even then it is likely only possible to prevent App Nap but not
sleep mode.
If Bisq is in App Nap mode offers cannot be taken as well the user loses
network connection and offers.
See: https://github.com/bisq-network/bisq/issues/1701
2018-09-21 14:50:03 -05:00
Manfred Karrer
6e9b71f777
Increase delay for auto-close of notifications from 4 to 6 sec. 2018-09-21 12:53:06 -05:00
Manfred Karrer
56c657c400
Add printAllCurrencyStats method 2018-09-21 12:52:03 -05:00
Manfred Karrer
dc175fa2a7
Add LSAppNapIsDisabled and NSSupportsAutomaticGraphicsSwitching 2018-09-21 12:45:46 -05:00
Manfred Karrer
bdf2a1b1d1
Delete stresstest directory 2018-09-21 12:27:39 -05:00
Manfred Karrer
147ba275be
Update Info.plist
- Order entries by importance/maintenance
- Remove unneeded entries
- Add version entries (need to be maintained)
- Add NSHumanReadableCopyright
2018-09-21 12:26:47 -05:00
Manfred Karrer
d451db08c4
Rename directory osx to macosx to include Info.plist file
- Our Info.plist file was not included but an auto generated file was
used instead. The app category entry was not set.
The icon entry was wrong so I removed it here.
2018-09-21 12:24:49 -05:00
Manfred Karrer
5b21d0cdba
Remove cleanup tasks 2018-09-21 11:40:44 -05:00