Commit graph

308 commits

Author SHA1 Message Date
Manfred Karrer
92514a25e8
Refactor BsqBlockChain with ReadModel and WriteModel 2018-03-09 00:43:20 -05:00
Manfred Karrer
cf9fc6714d
Refactor check if a tx is a bsq tx. 2018-03-08 20:59:49 -05:00
Manfred Karrer
72a73b9573
Move TxIdIndexTuple to util package 2018-03-08 10:51:11 -05:00
Manfred Karrer
df093b9712
Remove TxVo and put fields into Tx instead. 2018-03-08 10:50:15 -05:00
sqrrm
e48f91cb51
Fix fullnodeparsertest after refactoring 2018-03-08 14:47:49 +01:00
Manfred Karrer
027de5316f
Refactoring of DAO classes and packages. Isolate consensus code to extra classes. Separate better full node and lite nodes. 2018-03-07 22:05:27 -05:00
Manfred Karrer
034b113f9e
Change params for daoPeriodService. Add commeents. Add VoteRequest class. 2018-03-06 20:13:46 -05:00
sqrrm
5c2bd9e906
Fix BsqParserTest after changing genesis distribution 2018-03-05 19:41:40 +01:00
Manfred Karrer
2bc210bbd0
Ignore BsqParserTest temporary 2018-03-05 12:59:39 -05:00
Manfred Karrer
1f6122e934
Add option key: genesisBlockHeight. Rename option key regTestBsqGenesisTxId to genesisTxId. Remove hard coded dev genesis tx id and height. 2018-03-05 12:05:24 -05:00
Manfred Karrer
3048e0f385
Fix failed unit test 2018-02-22 12:23:30 -05:00
Manfred Karrer
43ce9f796f
Fix issue #1386: Offers with Cash deposit cannot be taken.
Fix handling for Sepa related accounts.
Optimize handling for same bank and specific banks.
Add comments
2018-02-22 12:10:25 -05:00
Chris Beams
1760fccc89
Move io.bisq.core.network.{* => .p2p.seed.*}
Prior to this change, the contents of io.bisq.core.network were in fact
all seednode-related, and the main public type in this package,
DefaultSeedNodeRepository, is an implementation of
io.bisq.network.p2p.seed.SeedNodeRepository. This repackaging makes
better reflects these facts, making it more obvious to the unitiated
what this package is all about, and preserving the unqualified
io.bisq.core.network package for future expansion into non-seednode
related areas.
2018-02-21 10:45:21 +01:00
Chris Beams
a72bb72473
Rename classes from Node* => SeedNode* as appropriate
Each of the classes here are in fact specific to seed nodes, so have
been renamed accordingly, e.g. from NodeAddresses => SeedNodeAddresses.
2018-02-21 10:45:21 +01:00
tau3
5bb91a3fd3 Fixed factory method for NodeAddresses in case of empty string 2018-02-21 13:17:08 +04:00
Christoph Atteneder
a6ff095234
Add isRange method 2018-02-16 09:54:54 +01:00
Sergey Rozhnov
eea28c3d73 Implemented unit test for NodeAddressLookup 2018-02-15 17:10:53 +04:00
Sergey Rozhnov
60ca9fb14b Implemented unit test for NodeAddresses 2018-02-15 16:59:12 +04:00
Sergey Rozhnov
96528a0fc5 Implemented unit test for ImmutableSetDecorator 2018-02-15 16:41:02 +04:00
Manfred Karrer
0064e5052f
Merge pull request #1332 from tau3/refactor/config-peer-nodes
Refactoring: WalletSetup#configPeerNodes
2018-02-13 13:14:16 -05:00
Sergey Rozhnov
707fd5c986 Implemented unit test for BtcNodeConverter 2018-02-07 01:19:14 +04:00
Sergey Rozhnov
f9ab2614a8 Implemented unit test for PeerAddressRepository 2018-02-07 00:15:38 +04:00
Sergey Rozhnov
862de72666 Implemented unit test for WalletSetupPreferences 2018-02-06 23:38:00 +04:00
Sergey Rozhnov
cd05c8767c Implemented unit test for WalletNetworkConfig 2018-02-06 23:27:31 +04:00
sqrrm
8ec499888c
Simplyfy BsqParser test case setup 2018-02-06 19:26:09 +01:00
sqrrm
a6341ec7f1
Test parseBlocks and BsqBlockChain population 2018-02-06 19:21:37 +01:00
Manfred Karrer
ee9b133f65
Merge branch 'Development'
# Conflicts:
#	gui/src/main/java/io/bisq/gui/main/funds/transactions/TransactionsView.java
#	gui/src/main/java/io/bisq/gui/main/overlays/windows/TorNetworkSettingsWindow.java
2018-02-01 14:10:42 -05:00
Manfred Karrer
7cd96363ff
Merge #1297 2018-02-01 13:29:25 -05:00
Sergey Rozhnov
0561e8e4cb implemented unit test for ReceiptValidator 2018-01-30 12:39:13 +04:00
Sergey Rozhnov
cadaac15e9 split AccountValidator into ReceiptValidator and ReceiptPredicates; implemented unit test for ReceiptPredicates 2018-01-29 18:36:23 +04:00
sqrrm
95ecec6d12
Add command line option to set BSQ genesis tx id 2018-01-25 16:52:36 +01:00
Manfred Karrer
22d79b0f54
Remove unneeded Type 2018-01-24 20:18:18 -05:00
sqrrm
99d9ea6619
bsqparsertest: add test for isBsqTx
Testing only the most basic cases of inputs.
2018-01-24 13:56:48 +01:00
Manfred Karrer
0e16522307
Merge branch 'Development' into dao
# Conflicts:
#	core/src/main/java/io/bisq/core/dao/blockchain/BsqNode.java
2017-12-08 11:17:47 -05:00
Manfred Karrer
558157082d
Add filter for btc nodes 2017-12-07 23:14:34 -05:00
Manfred Karrer
8454f4dfce
Further refactorings, cleanup, fix missing handlers. 2017-12-05 23:10:39 -05:00
Manfred Karrer
81a719d207
-Refactoring: Rename BsqChainState to BsqBlockChain 2017-12-05 16:16:34 -05:00
Manfred Karrer
57a019708d
Split list of requests in active and past. Improve tests 2017-12-05 15:01:11 -05:00
Manfred Karrer
3bcd8d4ad2
Add phase display for comp requests 2017-12-05 00:05:50 -05:00
Manfred Karrer
56886693e8
Add feature for removing comp request. Add phase calculation 2017-12-01 22:13:11 -05:00
Manfred Karrer
96081ddb63
Add provided bitcoin nodes and filter message for deactivating public network selection. 2017-11-07 23:43:08 -05:00
Chris Beams
e1a6f87a98
Reformat Java sources with Editorconfig settings
This change is the result of a global reformatting in IDEA now that
`.editorconfig` settings are in place. Note that Editorconfig's
`continuation_indent_size` property [1] was also added and set to 8
here, as this reflects the dominant style already present in the
codebase. i.e. in created a much smaller diff to set the continuation
indent to 8 that would have been created leaving this property out and
letting it default to 4.

[1]: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
2017-11-04 20:11:30 +01:00
Manfred Karrer
2c84623154
Add filter for arbitrators 2017-10-25 17:24:54 -05:00
Manfred Karrer
e8290e3b8a
Fix missing verifications, handle altcoins, cleanup 2017-10-25 14:18:26 -05:00
Manfred Karrer
f2d1e8b6f6
Remove signature from hash 2017-10-22 21:18:53 -05:00
Manfred Karrer
14bb75ded5
Check accountWitness date only if we receive it from other peers in the P2P network 2017-10-21 23:05:52 -05:00
Manfred Karrer
801a9174ad
Dont publish altcoin account witness 2017-10-21 20:32:05 -05:00
Manfred Karrer
e56fc44956
Only use accumulated hash in Witness object 2017-10-21 14:07:48 -05:00
Manfred Karrer
1206878579
Add peers account age witness verifications in trade process 2017-10-17 20:41:33 -05:00
Manfred Karrer
851792d1f1
Add new P2P network data structure for AccountAgeWitness without pubKey 2017-10-16 15:52:54 -05:00