2018-07-20 00:12:39
hi everyone

Clueless
2018-07-20 00:12:41
how are you doing?

Clueless
2018-07-20 00:35:29
I am mining

alistar
2018-07-20 00:35:46
and building a Snow Pool.

alistar
2018-07-20 02:44:51
i'm fine,thanks @Clueless

alexaabb
2018-07-20 09:30:57
do we have a logo or icon for SnowBlossom?

alistar
2018-07-20 13:01:28
can we format the data like richilist , Pool report.txt, shackleton.getParams output into JSON or XML data? thx

alistar
2018-07-20 15:07:04
@alistar the richlist question has already been asked and answered before.

cXplexus
2018-07-20 15:35:30
any good tutorials known to become familar with using RPC?

fydel
2018-07-20 16:51:48
gRPC or jsonrpc?

Fireduck
2018-07-20 16:54:32
I got a decent framework going so can add jsonrpc to things pretty easy

Fireduck
2018-07-20 17:45:16
i dont know. i am lazy and not so smart. some bitcoin tutorial about that i can rethink on snow rpc?

fydel
2018-07-20 17:55:44
step 1 would be to go and look at what this mystical 'RPC' actually is

Rotonen
2018-07-20 18:59:08
i did.

fydel
2018-07-20 18:59:45
was too confused.

fydel
2018-07-20 19:00:06
sad day for hamsters. :cry:

fydel
2018-07-20 19:00:56
I'll give you some simple examples

Fireduck
2018-07-20 19:01:01
Later

Fireduck
2018-07-20 19:01:11
In a really long meeting

Fireduck
2018-07-20 19:03:49
cool. thanks. i will be all ears up.

fydel
2018-07-20 20:45:39
@fydel get newest code, do the commend "rpcserver" on client

Fireduck
2018-07-20 20:45:54
rpc_port=11323
rpc_username=cows
rpc_password=two

Fireduck
2018-07-20 20:46:09
curl -d '{ "jsonrpc": "2.0", "method":"getfresh", "id":"getfresh", "params": { "mark_used": true, "generate_now": true }}' http://cows:two@localhost:11323/
curl -d '{ "jsonrpc": "2.0", "method":"balance", "id":"balance"}' http://cows:two@localhost:11323/ | jq .

Fireduck
2018-07-20 20:46:16
put the config lines in

Fireduck
2018-07-20 20:46:30
and then those curl commands are examples of using it

Fireduck
2018-07-20 20:46:40
it is jsonrpc 2.0 over http with basic http auth

Fireduck
2018-07-20 20:47:04
you might need to install jq, but it is just doing a json pretty printing

Fireduck
2018-07-20 20:47:16
I'll be adding more calls

Fireduck
2018-07-20 20:58:52
I can add jsonrpc to MrPlow or the Node pretty easily but not sure what info people are looking for

Fireduck
2018-07-20 21:28:43
Anyone reading this: if you want rpc calls to do things, open issues on git stating what you are looking for

Fireduck