-
Notifications
You must be signed in to change notification settings - Fork 33
Changelog Shared Modules
user_name edited this page Aug 3, 2023
·
8 revisions
All notable changes to this module will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Defines the TreeStore interface
- Adds fisherman, servicer, and validator modules to utility interface.
- Adds client kubectl kubeconfig as a fallback when sourcing namespace from the environment.
- Added
GetIndexedTransactionto theUtilityModuleinterface to be able to retrieve an indexed transaction without running the underlying business logic - Renamed
HydrateIdxTxtoHandleTransactionin theUtilityUnitOfWorkinterface so its more descriptive of what the function does - Renamed
anteHandleMessagetobasicValidateTransaction - Split the logic in
basicValidateTransactioninto multiple smaller functions for readability and so adding new business logic will be clearer
- Updates the PersistenceModule interface to return a BlockStore instead of KVStore directly
-
Consensus- Updated debug interface functions: addedPushStateSyncMetadataResponse(), removedSetAggregatedStateSyncMetadata()andGetAggregatedStateSyncMetadataMaxHeight()
-
Consensus- improved documentation for supporting interfaces -
Consensus- ConsolidatedResetRound,ResetForNewHeightClearLeaderMessagesPool -
Persistence- ConsolidatedCloseandReleaseand avoid returning an `error
- Improved README.md
- Improved GoDoc comments
- Rename ServiceNode Actor Type Name to Servicer
- Added comments to the functions exposed by
P2PModule
Persistence Module:
- Add
proposerAddrinput to theCommitfunction - Remove
SetProposalBlock,GetBlockTxsandGetProposerAddr - Rename
ComputeAppHashtoComputeStateHash
Utility Module:
- Introduce the
SetProposalBlockfunction
- Changed the scope of
TransactionExistsfrom thePostgresContextto thePersistenceModule
- Removed
GetPrevHashand just usingGetBlockHashinstead - Removed
blockProtoBzfromSetProposalBlockinterface - Removed
GetLatestBlockTxsandSetLatestTxResultsin exchange forIndexTransaction - Removed
SetTxResults - Renamed
UpdateAppHashtoComputeStateHash - Removed some getters related to the proposal block (
GetBlockTxs,GetBlockHash, etc…)
PersistenceModule
- Added
ReleaseWriteContext - Consolidated
ResetContext,ResetwithRelease - Modified
Committo accept aquorumCert - Removed
Latestprefix from getters related to the proposal block parameters
UtilityModule
- Changed
CommitPersistenceContext()toCommit(quorumCert) - Changed
ReleaseContexttoRelease
- Modified interface for Utility Module
ApplyBlockandGetProposalTransactionsto returnTxResults - Modified interface for Persistence Module
StoreTransactionto store theTxResult - Added shared interface
TxResultunder types.go
- Minimized shared module with #163
- Deprecated shared/types, moved remaining interfaces to shared/modules
- Most GenesisTypes moved to persistence
- Deprecated old placeholder genesis_state and genesis_config
- Added utility_genesis_state to genesis_state
- Added consensus_genesis_state to genesis_state
- Added genesis_time to consensus_genesis_state
- Added chainID to consensus_genesis_state
- Added max_block_bytes to consensus_genesis_state
- Added accounts and pools to utility_genesis_state
- Added validators to utility_genesis_state
- Added applications to utility_genesis_state
- Added servicers to utility_genesis_state
- Added fishermen to utility_genesis_state
- Deprecated shared/config/
- Added new shared config proto3 structure
- Added base_config to config
- Added utility_config to config
- Added consensus_config to config
- Added persistence_config to config
- Added p2p_config to config
- Added telemetry_config to config
- Opened followup issue #163
- Added config and genesis generator to build package
- Deprecated old build files
- Use new config and genesis files for make lightweight_localnet
- Use new config and genesis files for make lightweight_localnet_client && make lightweight_localnet_client_debug
Contents
- Home
- Persistence
- Changelog
-
Persistence
- Indexer
- Rpc
- Runtime
- State_Machine
-
Guides
- Roadmap
-
Guides
- Learning
- Guides
-
Guides
- Contributing
- Devlog
-
Guides
- Dependencies
-
Guides
- Releases
- Guides
- P2P
-
Shared
- Crypto
- Shared
-
Shared
- Modules
-
Build
- Config
- Consensus
-
Guides
- Telemetry
- Utility
- Logger