RE: Pocket Genesis Post: Resteem this to get your free POCKET Tokens!

You are viewing a single comment's thread from:

Pocket Genesis Post: Resteem this to get your free POCKET Tokens!

in pocket •  7 years ago 

confirm

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Success! You claimed a genesis stake of 1000001.
trxid:c3e102401bf32dd46547b523b6b2d8123b7e9d32
Thanks for using POCKET! I am running this confirmer code.

glad to see you finally got on board @biophil LOL

;)

pocketsend:1000@biophil, This will be fun! LOL

Successful Send of 1000
Sending Account: captainobviou3
Receiving Account: biophil
New sending account balance: 998900
New receiving account balance: 976165
Fee: 1
Steem trxid: 1ab2de3c68aab62509e2f80ff489c2af069b5625
Thanks for using POCKET! I am running this confirmer code.

Successful Send of 1000
Sending Account: captainobviou3
Receiving Account: biophil
New sending account balance: 998900
New receiving account balance: 976165
Fee: 1
Steem trxid: 1ab2de3c68aab62509e2f80ff489c2af069b5625
Thanks for using POCKET! I am running this confirmer code.

Success! You claimed a genesis stake of 1000001.
trxid:c3e102401bf32dd46547b523b6b2d8123b7e9d32
Thanks for using POCKET! I am running this confirmer code.

Screen Shot 2018-07-09 at 8.33.16 pm.png

Hi @biophil, I need some clarification on this piece of code.
It is watching for reblogs of the genesis block if genesis is active.

So if op[0] is a custom_json operation then we get the payload.

if payload[0] is 'reblog' then we proceed.

What I don't understand is why we credit_genesis only if the payload author is const.GENESIS_ACCOUNT, in other words, if it's you who is reblogging.

Also, is there another way for me to ping you regarding these stuffs?

What I don't understand is why we credit_genesis only if the payload author is const.GENESIS_ACCOUNT, in other words, if it's you who is reblogging.

I'm not sure why the JSON fields are named the way they are, but that particular "author" belongs to the identifier of the post that is being reblogged. So it's not meant to be the reblogger, but rather it's the author of the post that is reblogged. Check this reblog I just did: https://steemd.com/tx/7b23653de4a5ddfe49b7f247e4d1f9fb04ec9cc6

Email is best; I'll send you my email address on discord.

  ·  6 years ago (edited)

Ahhhh right clog course! All makes sense now! I knew I’ve missed something 🤣

I’m working on the replay and was trying to figure out why some genesis_confirm operations are shown as not valid and why db.pending_genesis_confirms was empty when I did see some confirmation going on, maybe they happen too fast and I missed an operation when looking at the live logs. Also when replaying from 0 I guess it is normal that the first blocks contained no transactions, they were probably all mining actions.