You are viewing a single comment's thread from:

RE: [Witness] Update - January 2025 | DAO Burn Steem | Debugging steemd

in #witness4 days ago

Digging in ancient C++ code to understand it all... Kudos! I don't think I have the patience and nerves :))) The Developer portal is so outdated, I think about a half an year ago I tried to install the official steem python lib and it was failing to install, due to relying on outdated third party libs too... That doesn't send the right message to any external developer. I have to try again.

That snipped, a procedure to print general chain and user info before starting a block explorer? or block producer? Can't tell exactly, not much code on it visible :)

Have a great day and thankyou!

Sort:  

I tried to install the official steem python lib and it was failing to install

Yes, that's another project I'd like to work on. I work a lot with steem-python. If you want to install it on Windows, I've written a tutorial here.
There is a workaround for Linux, as the crypto-lib is no longer up-to-date. This has also already been described here on steem. If it becomes important for you, you are welcome to contact me.

I have already made some changes to steem-python to make my life easier ;-) If I want to make this officially available, it will probably only be possible via a fork and then I will have to deal with new things (package management etc.) again. I don't have the time for that at the moment. But it's definitely something that needs to be done.

a procedure to print general chain and user info before starting a block explorer? or block producer?

I didn't really mean the code, but that you can see on the screenshot that I'm running the blockchain code in debug mode. So I can run every single command, pause in between and see what the code does at certain points and how.
The code itself is just the entry code for steemd. So nothing spectacular in itself :-)

Thank you!
Yes, my attempts were on Windows 11 so I'll use your tutorial.
I have a machine running Ubuntu, but as Lightroom Classic only runs on Win & Mac I mostly use Win, kinda forced to it actually. I have to admit I like Visual Studio Code a lot, tried a few other environments for python but that's the most convenient for me. MS did one thing very well, at least :D

I mostly use VSCode under WSL. As I also run Ubuntu on my servers, I can simulate the server environment more directly.

Coin Marketplace

STEEM 0.22
TRX 0.24
JST 0.038
BTC 103665.42
ETH 3302.15
SBD 4.34