Pocket confirmer bots: bug fixed; please upgrade to latest code now!

in pocket •  8 months ago


(If you are not running a confirmer bot, feel free to ignore this message! Keep using Pocket as you always have!)

Today Pocket gave me a chance to prove that I'm still around and still paying attention to the protocol. About a day ago, it appears that all of the confirmation bots except for @kata got stuck at a particular block. There is a method in the Steem Python library called get_replies() that inexplicably stopped working. The code needs this method to look for confirmation messages to pocketsend commands, and without it, all bots just hung. Except @kata. My suspicion is that the method doesn't fail if a pocketsend has no replies, and @kata just happened to be the first one past the gate when the bug turned up.

In any case, once I found the problem I fixed it quite easily by simply using a lower-level method to query the necessary replies. I've merged the changes into all branches, so whichever you are using should be good to go. Cheers!

As always, if you need a Bitshares account so you can trade POCKET IOU tokens issued by @virtualgrowth, you can sign up for Bitshares using this link.

For more information

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:  

Surprising. Than bot did stuck I've updated python-steem to the new url https://api.steemit.com. It worked. I was thinking that RPC server uri change was causing this.

Anyway, I'll update the code. Thank you for staying around!

·

I run my own steemd node, and my bot got stuck too. So I don't know. Right, I need to update the urls in the default config file too.

·
·

It is nice that python-steem updated too. It will fix problem from both ends.

·

I did the same only earlier today and bot started to process blocks - and I am still running version without this fix. Before this change I've got a lot of errors:

2018-01-10 18:20:48,615 DEBUG root Switched node to steemd.steemit.com due to exception: MaxRetryError

so I also assumed that this is connected with killing of steemd.steemit.com.

What is worth mentioning, I had to change steemd.steemit.com to api.steemit.com in steem-python code (setting any nodes in configuration file did not fixed anything). Nevertheless I will also try to update to newer version tonight.

·
·

Right, that makes sense. I wonder why my local steemd was having the problem too. Weird.

In any case, I need to do a comprehensive upgrade to get it compatible with the official steem-python.

·

By the way, what version number do you have of python-steem?

·
·

I've pulled version with latest commit 6467801565be992140a1234ea9a4987aa6fd71ee (did not find the actual version number there)

pocketsend:2@biophil, just finished updating, checking.

·

Successful Send of 2
Sending Account: kata
Receiving Account: biophil
New sending account balance: 76
New receiving account balance: 828172
Fee: 1
Steem trxid: 9a9ac171bf36c3b5f31b776656eb3a9498cad214
Thanks for using POCKET! I am running this confirmer code.

·

Successful Send of 2
Sending Account: kata
Receiving Account: biophil
New sending account balance: 76
New receiving account balance: 828172
Fee: 1
Steem trxid: 9a9ac171bf36c3b5f31b776656eb3a9498cad214
Thanks for using POCKET! I am small bot and right now I am running this code.

·
·

pocketsend:1@pocket-pi, test

·
·
·

Successful Send of 1
Sending Account: pocket-pi
Receiving Account: pocket-pi
New sending account balance: 141807
New receiving account balance: 141807
Fee: 1
Steem trxid: 3d190ebc974b4e4e8bc8120660628cc8066b8544
Thanks for using POCKET! I am small bot and right now I am running this code.

·
·
·

Successful Send of 1
Sending Account: pocket-pi
Receiving Account: pocket-pi
New sending account balance: 141807
New receiving account balance: 141807
Fee: 1
Steem trxid: 3d190ebc974b4e4e8bc8120660628cc8066b8544
Thanks for using POCKET! I am running this confirmer code.

·

looks like @pocket-pi is working now too.

·
·

...and now is running the latest develop branch code too. :-) Regards.

·

Thanks! You're right, flagged.

·
·

pocketsend:1@biophil

·
·
·

Successful Send of 1
Sending Account: biophil
Receiving Account: biophil
New sending account balance: 828120
New receiving account balance: 828120
Fee: 1
Steem trxid: 732128f75c91665da6aa0d562d1cc1dd0f185f6f
Thanks for using POCKET! I am running this confirmer code.

·
·
·

Successful Send of 1
Sending Account: biophil
Receiving Account: biophil
New sending account balance: 828120
New receiving account balance: 828120
Fee: 1
Steem trxid: 732128f75c91665da6aa0d562d1cc1dd0f185f6f
Thanks for using POCKET! I am a confirmer bot for fun, view my source confirmer code here. Don't know what a POCKET Token is? Here is a link to the official announcement post.

it turns out after study and I share this post I will try to register to betshare.

Very interesting post!
Very interesting to see.

Terimaksih tuan sudah upvote saya saya juga ingin sukses seperti anda. Saya @adikuala. Sudah banyak sekali melihat upvote yang di berikan kepada anda. Harapan saya Tuan @biophil dapat melihat saya selalu dalam postingan berikutnya, semoga saja saya juga bisa sukses seperti anda.

is there a solution to the solution earlier?

Wow.. Thanks for sharing this. Nice one

Folow me pliss

·
·
·

I think somebody once sent me some pocket...

how do i know if I have pocket... if I sound confused, that's because I am.

·

pocketsend:1@fraenk, just send one to yourself like this and a bot will reply if your have some.

·
·

Successful Send of 1
Sending Account: biophil
Receiving Account: fraenk
New sending account balance: 828122
New receiving account balance: 100
Fee: 1
Steem trxid: 37d414f7f5976a084b1afc04625be9d7992af3cb
Thanks for using POCKET! I am running this confirmer code.

·
·

pocketsend:1@fraenk, this is a test

·
·
·

Successful Send of 1
Sending Account: fraenk
Receiving Account: fraenk
New sending account balance: 99
New receiving account balance: 99
Fee: 1
Steem trxid: 9053db4ff109b3268a8e2dd4fd9abd680260208a
Thanks for using POCKET! I am running this confirmer code.

·
·

ok... I get it now! Thanks for helping me be less confused!

Man, only now I found out about Pocket tokens! This stuff is great! My mind is spinning with the possibilities... thanks for doing this! @biophil

·

pocketsend:101@tiagopaixao, my pleasure! If I ever get a break from real life I have some interesting upgrades in mind.

·
·

Successful Send of 101
Sending Account: biophil
Receiving Account: tiagopaixao
New sending account balance: 828021
New receiving account balance: 100
Fee: 1
Steem trxid: 45184f2fe9c678c5411b17c764f59273afbb0e67
Thanks for using POCKET! I am running this confirmer code.

·
·

Successful Send of 101
Sending Account: biophil
Receiving Account: tiagopaixao
New sending account balance: 828021
New receiving account balance: 100
Fee: 1
Steem trxid: 45184f2fe9c678c5411b17c764f59273afbb0e67
Thanks for using POCKET! I am a confirmer bot for fun, view my source confirmer code here. Don't know what a POCKET Token is? Here is a link to the official announcement post.

·
·

Hey, thanks a lot! Please keep us updated on those upgrades. Also, I am thinking of a couple of projects that will be based on the idea of arbitrary code on steem. It would be cool to chat to you about it...

·
·
·

Would love to! are you on steemit.chat?

·
·
·
·

Barely... but I can be. What would be the best way talk to you there? Which channel? I'm tiago.paixao there, I think...

·
·
·
·
·

I'm really not on there much either. But you should be able to send me a direct message, and then I'll get an email notification and we can go from there.

·
·
·
·
·
·

This is very useful information, many thanks have told us.

·

pocketsend:1@knowledges

·
·

Successful Send of 1
Sending Account: knowledges
Receiving Account: knowledges
New sending account balance: 999947
New receiving account balance: 999947
Fee: 1
Steem trxid: 1191ecfd4f1ad590545c3615edc5c34396f8d472
Thanks for using POCKET! I am running this confirmer code.

Hello @biophil,
I have not been following up with the pocket update from you.
would love to know if this project is still up and running and if yes, how do i assess my previously earned token ?

·

pocketsend:1@knowledges, I haven't updated pocket in a long time, but I believe it still works fine. As always, to check on your tokens just pocketsend 1 to yourself just like what I did right there.

·
·

Successful Send of 1
Sending Account: biophil
Receiving Account: knowledges
New sending account balance: 825411
New receiving account balance: 999948
Fee: 1
Steem trxid: 395e3e7f0ca773b793823189302e010a0730067c
Thanks for using POCKET! I am running this confirmer code.

·
·

Successful Send of 1
Sending Account: biophil
Receiving Account: knowledges
New sending account balance: 825411
New receiving account balance: 999948
Fee: 1
Steem trxid: 395e3e7f0ca773b793823189302e010a0730067c
Thanks for using POCKET! I am running this confirmer code.

pocketsend:1@imransoudagar

·

Successful Send of 1
Sending Account: imransoudagar
Receiving Account: imransoudagar
New sending account balance: 1000107
New receiving account balance: 1000107
Fee: 1
Steem trxid: 4cf9c1b5356800b4a674eda5b3abaf0fa3b8c1e2
Thanks for using POCKET! I am running this confirmer code.

Pocket Tokens dead? It's been about 11 months since it launched.

·

Well, at least there is a bot or two still operating.

There's actually someone developing a JS library for it - so it's not totally dead.

·
·

A JS library is a JavaScript library. I'm just leaving this note here for future anthropologists because POCKET token is going be around for the next thousand years and JavaScript probably ain't gonna last that long. Also, I can turn my account into a confirmer bot, if it ever becomes necessary. Hey, congrats on your new job, Dr. Brown! Just wanted to let you know that your new town has a thriving Steemit community. The great @Broncnutz (This dude has tons of Steem Power) can introduce you to the gang and he already mentioned to me that he would like to meet you once you get settled in. He is already a POCKET token hodler himself.

·
·
·

Hello Paul Atreides! I would like to buy some pocket! Would you sell me some or know where a market exists? I appreciate in advance any consideration! I would like 3 million pocket in total, but that is just a round number and would just like to buy 'some'

·
·
·
·

pocketsend:501@ecoinstant, sorry but I'm looking to buy some more too but here is a few free ones to get you started, I think I read somewhere that there is a market on Bitshares but I have never checked it out.

·
·
·
·
·

Successful Send of 501
Sending Account: paul.atreides
Receiving Account: ecoinstant
New sending account balance: 2580282
New receiving account balance: 5497
Fee: 1
Steem trxid: 70179731637daf4ba52911fb7a6adba10b3afbd1
Thanks for using POCKET! I am running this confirmer code.

·
·
·
·
·

Thank you for getting back to me! I am slowly making my way through the list of the users holding the most pocket, no problem, if I figure out how to get more I will let you know!

·
·
·

Hi Paul!

I've been traveling, moving, getting set up with UCCS, etc and have been away from Steemit for a while. I did not know that there's a Steemit community here, other than @smith-house/@brownsgreens. Sounds like a meetup is in order!

·
·
·
·

Sounds good Tokenmaster, let me know when you are ready for a meetup and I will help spread the word.

·
·
·
·

Hi @biophil! I'm Jose, senior analyst at AmaZix (https://www.amazix.com/ // https://www.linkedin.com/in/ze-macedo-15b1b175/). I was referred to you by @jga, I'm working on a forum project based on the Steem blockchain and have benefitted and learned a lot from your posts on Pocket token. I'd love to talk to you and get your feedback about our current targeted implementation. Do you have an e-mail or Telegram you can be contacted on?

Best,

Jose

·
·

Dr. Phil, I am reaching out to some of the largest POCKET holders with my intention to purchase some POCKET. If you could sell me some, I would be very interested! I am looking for 3 million total pocket, but am willing to make smaller purchases.

·
·
·

Interesting - what are you looking to pay for 3M?

·
·
·
·

My initial offer was 1SBD per million, I have not been able to find information on a potential BTS market for pocket and how to get there, I searched open ledger but didn't find anything. So its possible I am way high, but contacting users so far has yielded only small gifts, no one wants to sell! Wonder what the price would be on open market....

·
·
·
·
·

@virtualgrowth used to operate a manual gateway service for POCKET on OpenLedger, see this asset: https://cryptofresh.com/a/POCKET

·
·
·
·

pocketsend:1@biophil

·
·
·
·
·

Successful Send of 1
Sending Account: biophil
Receiving Account: biophil
New sending account balance: 825409
New receiving account balance: 825409
Fee: 1
Steem trxid: 3e183c6ba36a12eafffe206424fa00ceb2bff21d
Thanks for using POCKET! I am small bot and I am running this confirming code.