Skip to content
Snippets Groups Projects
Commit bceed1c0 authored by Hans Moog's avatar Hans Moog
Browse files

Feat: bundle functionality

parent 44a73143
No related branches found
No related tags found
No related merge requests found
package metabundle
import (
"github.com/iotaledger/goshimmer/packages/model/meta_transaction"
"github.com/iotaledger/goshimmer/packages/ternary"
)
type MetaBundle struct {
hash ternary.Trytes
transactionHashes []ternary.Trytes
}
func New(transactions []*meta_transaction.MetaTransaction) (result *MetaBundle) {
result = &MetaBundle{
hash: CalculateBundleHash(transactions),
}
return
}
func (bundle *MetaBundle) GetTransactionHashes() []ternary.Trytes {
}
func (bundle *MetaBundle) GetHash() {
}
func CalculateBundleHash(transactions []*meta_transaction.MetaTransaction) ternary.Trytes {
return ternary.Trytes("A")
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment