You are viewing a single comment's thread from:

RE: SteemMysql -- Yet another SBDS service

in #utopian-io7 years ago

Your contribution cannot be approved because it is not as informative as other contributions. See the Utopian Rules. Contributions need to be informative and descriptive in order to help readers and developers understand them.

Mysql service to the steem blockchain is a valuable service.

Yet this is too little code for a contribution, this sums it up:

$api_url = 'https://api.steemit.com';
$latest_block_num_command = '{"jsonrpc": "2.0", "method": "call", "params": ["database", "get_dynamic_global_properties", []], "id": 1}';
$result = json_decode(postData($api_url, $latest_block_num_command), true);
$latest_block_num = isset($result['result']['last_irreversible_block_num']) ?
                        $result['result']['last_irreversible_block_num'] :
                        null;
$db_block_num = DBBlockNum();
$lost_block_num = $latest_block_num - $db_block_num;

Please do take the time to develop your future contribution so that everybody wins.

You can contact us on Discord.
[utopian-moderator]

Sort:  

Hi, the index.php code is not the contribution. My contribution is that I provide a public server to run the SBDS service. But I have no idea which category to select on the Utopian.

Doesn't Utopian support this type of contribution?

Utopian is focussed around open source software, might it be development, suggestions, bug report, translation...

With good effort you might be able to craft either a blog or a tutorial on your new service. Just go over the rules before and think of the open source angle.

Be generous with your essay and you will be rewarded.

Thank you for your reply. I have changed this post's category to Blog Post.

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.030
BTC 65989.03
ETH 2622.29
USDT 1.00
SBD 2.65