forked from bisq-network/bisq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make MeritList & VoteWithProposalTxIdList standalone classes
Remove an unnecessary PersistableEnvelope interface by making them standalone @value classes with private List fields, instead of extending PersistableList. As they weren't using any functionality of the latter other than the getList() and stream() methods, this should not alter behaviour, outside MeritList::toString. Also comment out the MERIT_LIST PersistableEnvelope protobuf message type, which shouldn't be encountered as merit lists were never persisted directly to a storage file. This removes the last superfluous PersistableEnvelope implementations, leaving the following type hierarchy: PersistableEnvelope * +- NavigationPath +- PeerList +- PersistableList * +- ThreadedPersistableEnvelope * | +- AccountAgeWitnessStore | +- BlindVoteStore | +- DaoStateStore | +- PersistableNetworkPayloadList * is abstract | +- ProposalStore | +- SequenceNumberMap | +- SignedWitnessStore | +- TempProposalStore | \- TradeStatistics2Store \- UserThreadMappedPersistableEnvelope * +- AddressEntryList +- DisputeList * | +- ArbitrationDisputeList | +- MediationDisputeList | \- RefundDisputeList +- UserThreadMappedPersistableList * | +- BallotList | +- MyBlindVoteList | +- MyProofOfBurnList | +- MyProposalList | +- MyReputationList | +- MyVoteList | +- PaymentAccountList | \- UnconfirmedBsqChangeOutputList +- PreferencesPayload +- TradableList \- UserPayload
- Loading branch information
Showing
5 changed files
with
18 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters