{"modulePath":"github.com/chainopen/matrixchaincode","version":"v0.0.0-20190924071332-ddf2b42e220f","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package txpoolCache\n\nCopyright (c) 2018 The MATRIX Authors Distributed under the MIT software license, see the accompanying file COPYING or [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)\n\n## Variables\n\n```go\nvar TXCStruct = new(TxCaCheListstruct)\n```\n\n## Functions\n\n```go\nfunc DeleteTxCache(hash common.Hash, h uint64)\n```\n\n```go\nfunc GetTxByN_Cache(listn []uint32, h uint64) map[uint32]types.SelfTransaction\n```\nh 传过来时应该是当前区块高度，而在这存储的是下一区块的高度\n\n```go\nfunc MakeStruck(txser []types.SelfTransaction, hash common.Hash, h uint64)\n```\n\n## Types\n\n```go\ntype TxCaChe struct {\n\tNtx      map[uint32]types.SelfTransaction\n\tHeadHash common.Hash\n\tHeight   uint64\n}\n```\n\n```go\ntype TxCaCheListstruct struct {\n\tTxCaCheList []*TxCaChe\n\t// contains filtered or unexported fields\n}\n```\n\n","path":"github.com/chainopen/matrixchaincode/txpoolCache","name":"txpoolCache","synopsis":"","isRedistributable":true}
