func TxIdsField(ids []TransactionID) log.Field {
	strs := []string{}
	for _, a := range ids {
		strs = append(strs, a.ShortString())
	}
	return log.String("tx_ids", strings.Join(strs, ", "))
}
TxIdsField returns a list of loggable fields for a given list of IDs.
package types
import (
	"fmt"
	"strings"
	"github.com/spacemeshos/ed25519"
	"github.com/spacemeshos/go-spacemesh/log"
	"github.com/spacemeshos/go-spacemesh/signing"
)
type TransactionID Hash32
func (id TransactionID) Hash32() Hash32 {
	return Hash32(id)
}
func (id TransactionID) ShortString() string {
	return id.Hash32().ShortString()
}
func (id TransactionID) String() string {
	return id.Hash32().String()
}
func (id TransactionID) Bytes() []byte {
	return id[:]
}
func (id TransactionID) Field() log.Field { return log.FieldNamed("tx_id", id.Hash32()) }