func (s *ChainStore) persistTrimmedBlock(batch database.Batch, b *types.Block) error {
	key := new(bytes.Buffer)
	key.WriteByte(byte(DATA_Header))
	hash := b.Hash()
	if err := hash.Serialize(key); err != nil {
		return err
	}
	value := new(bytes.Buffer)
	var sysfee uint64 = 0x0000000000000000
	if err := common.WriteUint64(value, sysfee); err != nil {
		return err
	}
	if err := b.Trim(value); err != nil {
		return err
	}
	batch.Put(key.Bytes(), value.Bytes())
	return nil
}
key: DATA_Header || block hash
value: sysfee(8bytes) || trimmed block
package blockchain
import (
	"bytes"
	"errors"
	"fmt"
	"github.com/elastos/Elastos.ELA.SideChain/database"
	"github.com/elastos/Elastos.ELA.SideChain/types"
	"github.com/elastos/Elastos.ELA/common"
)