Skip to content
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.

Sync up with changes from voting branch #15

Merged
merged 1 commit into from
Jul 11, 2018

Conversation

ManfredKarrer
Copy link
Contributor

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 (Change data persitence  #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:
    Change data persitence  #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

- Separate persistence by domains via custom services (See:
bisq-network#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
@ManfredKarrer ManfredKarrer requested a review from sqrrm July 8, 2018 11:54
transferDeprecatedDataStructure();
}

private void transferDeprecatedDataStructure() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested this locally since I always run from a fresh setup. What are the possible issues if this fails?

Copy link
Contributor Author

@ManfredKarrer ManfredKarrer Jul 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That users request all persisted data (account witness and trade statsistics) from seed node once after update. If it works at intended (and tested) the old map is used to be converted to the new data objects and then the old gets deleted. So the seed nodes dont get any extra load.

Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ripcurlx
Copy link
Contributor

ACK - see bisq-network/bisq#1601 (comment)

@ManfredKarrer ManfredKarrer merged commit f118fc2 into bisq-network:master Jul 11, 2018
@ManfredKarrer ManfredKarrer deleted the sync-with-voting branch August 14, 2018 19:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants