[root@node0 io.parity.ethereum]# vim config.toml
[parity]
db_path = "/home/eth/eth-data"
[rpc]
disable = false
port = 8545
interface = "all"
apis = ["web3", "eth", "net", "parity", "traces", "rpc", "secretstore", "personal"]
[ui]
interface = "all"
port = 8180
[websockets]
disable = false
port = 8546
interface = "all"
apis = ["web3", "eth", "pubsub", "net", "parity", "parity_pubsub", "traces", "rpc", "shh", "shh_pubsub"]
转载于:https://my.oschina.net/corleone/blog/2050482