Major integrations and fixes: - Added BACKBEAT SDK integration for P2P operation timing - Implemented beat-aware status tracking for distributed operations - Added Docker secrets support for secure license management - Resolved KACHING license validation via HTTPS/TLS - Updated docker-compose configuration for clean stack deployment - Disabled rollback policies to prevent deployment failures - Added license credential storage (CHORUS-DEV-MULTI-001) Technical improvements: - BACKBEAT P2P operation tracking with phase management - Enhanced configuration system with file-based secrets - Improved error handling for license validation - Clean separation of KACHING and CHORUS deployment stacks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
1.1 KiB
Go
32 lines
1.1 KiB
Go
package multihash
|
|
|
|
import (
|
|
"hash"
|
|
|
|
mhreg "github.com/multiformats/go-multihash/core"
|
|
|
|
_ "github.com/multiformats/go-multihash/register/all"
|
|
_ "github.com/multiformats/go-multihash/register/miniosha256"
|
|
)
|
|
|
|
// Register is an alias for Register in the core package.
|
|
//
|
|
// Consider using the core package instead of this multihash package;
|
|
// that package does not introduce transitive dependencies except for those you opt into,
|
|
// and will can result in smaller application builds.
|
|
func Register(indicator uint64, hasherFactory func() hash.Hash) {
|
|
mhreg.Register(indicator, hasherFactory)
|
|
}
|
|
|
|
// Register is an alias for Register in the core package.
|
|
//
|
|
// Consider using the core package instead of this multihash package;
|
|
// that package does not introduce transitive dependencies except for those you opt into,
|
|
// and will can result in smaller application builds.
|
|
func GetHasher(indicator uint64) (hash.Hash, error) {
|
|
return mhreg.GetHasher(indicator)
|
|
}
|
|
|
|
// DefaultLengths maps a multihash indicator code to the output size for that hash, in units of bytes.
|
|
var DefaultLengths = mhreg.DefaultLengths
|