mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
9ab649ec05
Provide UserThreadMappedPersistableList subclass for persistable lists which need to implement UserThreadMappedPersistableEnvelope, instead of putting the interface on the base class. Make the (non-storage) classes MeritList and VoteWithProposalTxIdList keep the original PersistableList superclass, deriving the remaining subclasses of PersistableList from the new class instead. In this way, further persistence-related changes are less likely to inadvertently alter the behaviour of those two consensus-critical classes. Removing the superfluous PersistableEnvelope interface from the two classes (via the base class) will be done in a separate PR. |
||
---|---|---|
.. | ||
src |