Commit 324c50f1 authored by Iuri Matias's avatar Iuri Matias

add compiler methods

parent 57bbba6a
...@@ -37,9 +37,9 @@ Implemented: ...@@ -37,9 +37,9 @@ Implemented:
* [_] eth_getUncleByBlockHashAndIndex * [_] eth_getUncleByBlockHashAndIndex
* [_] eth_getUncleByBlockNumberAndIndex * [_] eth_getUncleByBlockNumberAndIndex
* [X] eth_getCompilers (DEPRECATED) * [X] eth_getCompilers (DEPRECATED)
* [_] eth_compileSolidity (DEPRECATED) * [X] eth_compileSolidity (DEPRECATED)
* [_] eth_compileLLL (DEPRECATED) * [X] eth_compileLLL (DEPRECATED)
* [_] eth_compileSerpent (DEPRECATED) * [X] eth_compileSerpent (DEPRECATED)
* [_] eth_newFilter * [_] eth_newFilter
* [_] eth_newBlockFilter * [_] eth_newBlockFilter
* [_] eth_newPendingTransactionFilter * [_] eth_newPendingTransactionFilter
......
...@@ -12,7 +12,10 @@ Misc.prototype.methods = function () { ...@@ -12,7 +12,10 @@ Misc.prototype.methods = function () {
eth_mining: this.eth_mining.bind(this), eth_mining: this.eth_mining.bind(this),
eth_hashrate: this.eth_hashrate.bind(this), eth_hashrate: this.eth_hashrate.bind(this),
web3_sha3: this.web3_sha3.bind(this), web3_sha3: this.web3_sha3.bind(this),
eth_getCompilers: this.eth_getCompilers.bind(this) eth_getCompilers: this.eth_getCompilers.bind(this),
eth_compileSolidity: this.eth_compileSolidity.bind(this),
eth_compileLLL: this.eth_compileLLL.bind(this),
eth_compileSerpent: this.eth_compileSerpent.bind(this)
} }
} }
...@@ -46,4 +49,16 @@ Misc.prototype.eth_getCompilers = function (payload, cb) { ...@@ -46,4 +49,16 @@ Misc.prototype.eth_getCompilers = function (payload, cb) {
cb(null, []) cb(null, [])
} }
Misc.prototype.eth_compileSolidity = function (payload, cb) {
cb(null, "unsupported")
}
Misc.prototype.eth_compileLLL = function (payload, cb) {
cb(null, "unsupported")
}
Misc.prototype.eth_compileSerpent = function (payload, cb) {
cb(null, "unsupported")
}
module.exports = Misc module.exports = Misc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment