[bisq-network/bisq-p2p] Sync up with changes from voting branch (#15)

Manfred Karrer notifications at github.com
Sun Jul 8 11:54:00 UTC 2018


There have been several changes in the voting branch (and api-integration) which I want to get into master to avoid that those branches run out of sync as well as to apply the improvements.
The main changes are:
- The handling of persisted data in the p2p library (https://github.com/bisq-network/bisq-p2p/issues/8)
- Improvements of the app setup to support API projects in headless mode as well as in mixed mode
- Use custom TxBroadcaster class for better error handling 

Beside that there are many smaller trivial improvements, fixes, refactoring and cleanups.

Changes in that project:
- Separate persistence by domains via custom services (See:
https://github.com/bisq-network/bisq-p2p/issues/8)
- Add AppendOnlyDataStoreService and ProtectedDataStoreService
- Improve handling of reading from resource files
- Rename getHash to get32ByteHash
- Add getCompactHash (20 bytes)
- Add resource files, remove old persistableNetworkPayloadMap
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq-p2p/pull/15

-- Commit Summary --

  * Sync up with changes vrom voting branch

-- File Changes --

    M src/main/java/bisq/network/p2p/P2PModule.java (6)
    M src/main/java/bisq/network/p2p/peers/getdata/GetDataRequestHandler.java (2)
    M src/main/java/bisq/network/p2p/peers/getdata/RequestDataHandler.java (8)
    M src/main/java/bisq/network/p2p/storage/P2PDataStorage.java (216)
    D src/main/java/bisq/network/p2p/storage/PersistedEntryMap.java (93)
    M src/main/java/bisq/network/p2p/storage/SequenceNumberMap.java (4)
    M src/main/java/bisq/network/p2p/storage/payload/ProtectedStorageEntry.java (5)
    R src/main/java/bisq/network/p2p/storage/persistence/AppendOnlyDataStoreListener.java (4)
    A src/main/java/bisq/network/p2p/storage/persistence/AppendOnlyDataStoreService.java (84)
    R src/main/java/bisq/network/p2p/storage/persistence/PersistableNetworkPayloadList.java (12)
    A src/main/java/bisq/network/p2p/storage/persistence/PersistableNetworkPayloadListService.java (115)
    R src/main/java/bisq/network/p2p/storage/persistence/ProtectedDataStoreListener.java (4)
    A src/main/java/bisq/network/p2p/storage/persistence/ProtectedDataStoreService.java (92)
    A src/main/java/bisq/network/p2p/storage/persistence/StoreService.java (137)
    A src/main/resources/AccountAgeWitnessStore_BTC_MAINNET (0)
    R src/main/resources/TradeStatistics2Store_BTC_MAINNET (0)
    M src/test/java/bisq/network/p2p/mocks/MockMailboxPayload.java (4)
    M src/test/java/bisq/network/p2p/storage/ProtectedDataStorageTest.java (2)

-- Patch Links --

https://github.com/bisq-network/bisq-p2p/pull/15.patch
https://github.com/bisq-network/bisq-p2p/pull/15.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-p2p/pull/15
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20180708/84b8b298/attachment.html>


More information about the bisq-github mailing list