-
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
GetIndexedTransaction
to theUtilityModule
interface to be able to retrieve an indexed transaction without running the underlying business logic - Renamed
HydrateIdxTx
toHandleTransaction
in theUtilityUnitOfWork
interface so its more descriptive of what the function does - Renamed
anteHandleMessage
tobasicValidateTransaction
- Split the logic in
basicValidateTransaction
into 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
,ResetForNewHeight
ClearLeaderMessagesPool
-
Persistence
- ConsolidatedClose
andRelease
and 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
proposerAddr
input to theCommit
function - Remove
SetProposalBlock
,GetBlockTxs
andGetProposerAddr
- Rename
ComputeAppHash
toComputeStateHash
Utility Module:
- Introduce the
SetProposalBlock
function
- Changed the scope of
TransactionExists
from thePostgresContext
to thePersistenceModule
- Removed
GetPrevHash
and just usingGetBlockHash
instead - Removed
blockProtoBz
fromSetProposalBlock
interface - Removed
GetLatestBlockTxs
andSetLatestTxResults
in exchange forIndexTransaction
- Removed
SetTxResults
- Renamed
UpdateAppHash
toComputeStateHash
- Removed some getters related to the proposal block (
GetBlockTxs
,GetBlockHash
, etc…)
PersistenceModule
- Added
ReleaseWriteContext
- Consolidated
ResetContext
,Reset
withRelease
- Modified
Commit
to accept aquorumCert
- Removed
Latest
prefix from getters related to the proposal block parameters
UtilityModule
- Changed
CommitPersistenceContext()
toCommit(quorumCert)
- Changed
ReleaseContext
toRelease
- Modified interface for Utility Module
ApplyBlock
andGetProposalTransactions
to returnTxResults
- Modified interface for Persistence Module
StoreTransaction
to store theTxResult
- Added shared interface
TxResult
under 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