added txpool API
This commit is contained in:
committed by
Bas van Kervel
parent
c6c443385b
commit
87b62f75a7
@ -31,6 +31,8 @@ func ParseApiString(apistr string, codec codec.Codec, xeth *xeth.XEth, eth *eth.
|
||||
apis[i] = NewMinerApi(eth, codec)
|
||||
case NetApiName:
|
||||
apis[i] = NewNetApi(xeth, eth, codec)
|
||||
case txPoolApiName:
|
||||
apis[i] = NewTxPoolApi(xeth, eth, codec)
|
||||
case PersonalApiName:
|
||||
apis[i] = NewPersonalApi(xeth, eth, codec)
|
||||
case Web3ApiName:
|
||||
@ -53,6 +55,8 @@ func Javascript(name string) string {
|
||||
return Miner_JS
|
||||
case NetApiName:
|
||||
return Net_JS
|
||||
case txPoolApiName:
|
||||
return TxPool_JS
|
||||
case PersonalApiName:
|
||||
return Personal_JS
|
||||
}
|
||||
|
Reference in New Issue
Block a user