CounterpartyXCP / counterblock

Provides extended API services to Counterwallet, as well as Counterparty 3rd-party applications
http://counterparty.io
MIT License
16 stars 68 forks source link

Remove get_insight_block_info? #153

Open unsystemizer opened 7 years ago

unsystemizer commented 7 years ago

Can we fix or remove get_insight_block_info from the code? https://github.com/CounterpartyXCP/counterblock/blob/master/counterblock/lib/processor/api.py#L60 Or replace it with Core's getblock?

It's not working so maybe it should be removed from the code and counterblock API doc.


{
  "id": 1,
  "jsonrpc": "2.0",
  "error": {
    "data": {
      "message": "module 'counterblock.lib.blockchain' has no attribute 'getBlockInfo'",
      "type": "AttributeError",
      "args": [
        "module 'counterblock.lib.blockchain' has no attribute 'getBlockInfo'"
      ]
    },
    "message": "Server error",
    "code": -32000
  }
}```

<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40734510-remove-get_insight_block_info?utm_campaign=plugin&utm_content=tracker%2F686853&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F686853&utm_medium=issues&utm_source=github).
</bountysource-plugin>