Witness Node Plugins API Update: Add Testing for HivemindsteemCreated with Sketch.

in Witness Activitieslast year (edited)

Steem Hivemind is a distributed database layer which builds on top of the Steem blockchain. It provides an API for developers to store and query arbitrary application data on the blockchain, as well as a declarative rules engine which allows users to define custom rules for data processing. This allows developers to create more complex decentralized applications with fewer lines of code.

In my Node Testing Tool, I have provided a Plugins Testing Feature which is based on the API e.g.

$ curl -s --data "https://api.justyy.com" https://steem-apps.justyy.workers.dev/plugins

image.png

As you probably notice, I have added another two tests (also fix one other bug of testing the plugin network_broadcast_api)

Plugin hive - this is basically calling the following API (to ensure the basic hivemind is configured):

curl -s --data '{"jsonrpc":"2.0","id":0,"method":"hive.db_head_state","params":{}}' https://api.justyy.com

And a success response should look like this:

{"jsonrpc":"2.0","result":{"db_head_block":75584011,"db_head_time":"2023-06-17 10:11:33","db_head_age":12},"id":0}

For hive-test, the API calls the following (one example of using hivemind):

curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_discussions_by_trending", "params":[{"tag":"travel","limit":5,"truncate_body":1}], "id":1}' https://api.justyy.com

Please note that Most Steem RPC Nodes are configured with Jussi (Reverse Proxy) which can forward any traffic. So above plugins testing is for your reference only since a Node can forward the traffic to other nodes whose corresponding plugins are turned on.

@hungry-griffin
@steemcurator01
@steemcurator02
@steemcurator03
@steemcurator04
@steemcurator05
@steemcurator06
@steemcurator07
@steemcurator08
@steemcurator09
@steemcurator10
@booming01
@booming02
@booming03
@booming04

Steem to the Moon🚀!

  • You can swap the STEEM/SBD to USDT (TRC-20) via Steem2USDT!
  • Register a free STEEM account at SteemYY!
Sort:  

!ask What is steem hivemind?



Steem Hivemind is a distributed database layer which builds on top of the Steem blockchain. It provides an API for developers to store and query arbitrary application data on the blockchain, as well as a declarative rules engine which allows users to define custom rules for data processing. This allows developers to create more complex decentralized applications with fewer lines of code.


command: !ask is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!. !ask is currently based on ChatGPT-3.5

Coin Marketplace

STEEM 0.16
TRX 0.12
JST 0.026
BTC 56905.21
ETH 2508.41
USDT 1.00
SBD 2.36