All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Add
sds.GRTtype for GRT token amounts with 18 decimal precision- Backed by
holiman/uint256for efficient arithmetic - Supports parsing "X GRT" strings and plain decimal numbers
- Implements
encoding.TextMarshaler/TextUnmarshaler,json.Marshaler/Unmarshaler, andyaml.Marshaler/Unmarshaler
- Backed by
- Add
sds://scheme plugins for firehose-core integration (provider/pluginpackage)plugin.RegisterAuth()- registerssds://with dauth for RAV-based authenticationplugin.RegisterSession()- registerssds://with dsession for worker pool managementplugin.RegisterMetering()- registerssds://with dmetering for usage trackingplugin.Register()- convenience function to register all three plugins at once
- Plugins are gRPC/Connect clients that connect to the provider gateway
- All business logic (service provider, escrow, quotas) is configured on the gateway, not the plugin
- Plugin configuration is minimal:
sds://host:port?plaintext=true&network=my-network
- Refactor
PricingConfigto usesds.GRTtype instead of*big.Intfor prices- Pricing YAML now accepts "X GRT" format (e.g.,
price_per_block: "0.000001 GRT") or plain decimals
- Pricing YAML now accepts "X GRT" format (e.g.,