-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added version information to peers storage. #532
Merged
Merged
Conversation
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
nickeskov
force-pushed
the
feature-peers-storage-version
branch
from
August 19, 2021 13:17
83614cc
to
0c9ebba
Compare
alexeykiselev
approved these changes
Aug 19, 2021
nickeskov
added a commit
that referenced
this pull request
Oct 29, 2021
nickeskov
added a commit
that referenced
this pull request
Nov 10, 2021
* Address structure renamed to WavesAddress. New interface Address introduced. New type AddressID added and used to identify Address in state. * Keys of assets' data in state reduced to 20 bytes. * Tail of asset ID digest is stored in state and full AssetID digest is reconstructed on retrieval by functions that get AssetInfo * Added switch between types of functions (#528) * Function IsDataStorageUntouched returns false in case of no data were stored for given account. XXHash lib updated. (#530) * Limit new outbound connections (#512) * Module goleveldb updated to latest master. * Remote address added to log message in receive function. * Simplification of file descriptors options. Last attempt timestamp stored for known peers and used to sort them while establishing new connection. * Fixed max FDs limits for macOS * Log messages level changed * Fixed not returning bytes to pool after network message header reading. * MassTransfer V3 enabled * Improved warning message on failure to resend message to FSM. Cancel peer's context before closing network connection handler. * Peer's channels capacities reduced by 3 times and FSM channels capacities reduced by 10. * Channels capacity adjusted. Warnings on message drops converted to debug messages. * Function SetMaxFDs renamed to RaiseMaxFDs * Network bytes channels capacity increased * Homegrown bytespool replaced with bytebufferpool package. * Separate bytepool removed, the global one is used everywhere. * Added version information to peers storage. (#532) * Two small patches to let gowaves build on 32 bit systems (#533) (#536) * specify uint64 for constants * tag uint32s for 32 bit builds * camelCase for variables Co-authored-by: Lindsey Gray <[email protected]> * Updated CI build job. Added 32bit and 64bit architectures. (#535) * Added a change of balance for reissue and burn actions (#541) * Decimal library updated. Test on error in pow function then x was 0.5 added. (#542) Go 1.17 derictives supported. * Turned off payments validation (#539) * Turned off payments validation * Settings for temporary disabling payments validaion added. Recipient alias resolution fixed. * Fixed reissue * Tests on issue, burn and reissue in invoke added. Test on using aliases whlie doing invokes added. Test on activation of internal transfers and payments added. * Error messages fixed Co-authored-by: Alexey Kiselev <[email protected]> * Signature of function AssetInfoByID improved by returning errs.UnknownAsset error for non-existent asset. * New version of limit for total size of data entries produced by script invocation added. (#543) * Fixed bug in 'bytes' method of 'assetScriptKey' structure. Incremented 'StateVersion' constant. * Fixed bug with 'accountScriptHash' calculation. * Fixed bug with 'accountsDataStorage' on TestNet height 1638728, transaction 'BWqhPWQfa2u7bZ8SsB6P9MvKDNmFgkjBude2RbeusAa4'. * Changed state internal methods. Now this methods accept 'crypto.Digest' instead of '[]bytes' when asset needs. * Changed 'NFTList' method in 'StateInfo' interface. Also changed 'NewestAccountBalance' method in 'SmartState' interface. * Changed 'AccountBalance' method in 'StateInfo' and 'State' interfaces. * Fixed bug in 'extractAsset' function. * WIP: crypto.Digest to proto.AssetID. * Changed 'StateInfo' and 'SmartState' interfaces. Now 'AccountBalance' and 'NewestAccountBalance' can be retrieved by '*proto.AssetID'. * Removed 'crypto.Digest' from general purpose state interfaces. * Deleted 'String' method of 'AssetID'. * Reverted changes for 'SmartState' interface. * Removed 'proto.WavesAddress' usage as state key. Now keys uses 'proto.AddressID'. * Changed 'byteKey' function signature. * Incremented 'StateVersion' constant. * Issues fixed. PR #548. * Changed 'byteKey' utility function in 'state' package. Co-authored-by: Alexey Kiselev <[email protected]> Co-authored-by: Alexandr Dolgavin <[email protected]> Co-authored-by: Lindsey Gray <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.