• R/O
  • HTTP
  • SSH
  • HTTPS

bytom: 提交

Official Go implementation of the Bytom protocol


Commit MetaInfo

修订版33a77d89bbb07dad88c80bff8eeb92a563ab8b3c (tree)
时间2019-04-25 15:27:46
作者HAOYUatHZ <haoyu@prot...>
CommiterHAOYUatHZ

Log Message

feat(wip): init chain.GetTxIdxByHash()

更改概述

差异

--- a/protocol/tx.go
+++ b/protocol/tx.go
@@ -49,3 +49,7 @@ func (c *Chain) ValidateTx(tx *types.Tx) (bool, error) {
4949
5050 return c.txPool.ProcessTransaction(tx, err != nil, bh.Height, gasStatus.BTMValue)
5151 }
52+
53+func (c *Chain) GetTxIdxByHash() (int, error) {
54+ return 1, nil
55+}
Show on old repository browser