Very Secure

Block Explorer Update

I've begun working again on my block explorer. I have a prototype running in #whaacked that is synced up to block ~260,000 as of writing. It's running on a local machine, located near near a beach in Costa Rica in a beautiful-albeit-not-well-infrastructured town, so please pardon the downtime. It has a few commands you can see via:

!e help

If the arguments to a function are too long to paste into a single line of irc, you can instead paste the arguments to paste.deedbot.org and then feed trbexplorer the link to the resulting paste i.e.

!e balance http://paste.deedbot.org/?id=y484

The only time I see this send-arguments-via-paste feature being useful is for the command push,1 where one will paste a potentially long hex string representing a raw txn.

The ircbot currently returns a link to a paste of the result of the command. I was tempted to return the results of certain commands, such as !e balance [ADDRESS], directly via an irc message. However this would require operators of ircbot to have to write different logic for handling the responses of different commands, so I decided to return all results via paste.deedbot.org.

There are three main items on my TODO list, not including code revision and testing.

I. Speed up syncing/scan.

It looks like it's going to take 30-45 days to sync up on my machine. It's already a nightmare to get trb itself sync'd, so any shaving off of this time will be appreciated by someone wanting to run the explorer locally.

II. Decide on data return format.

I think returning the results to queries as an sexpr, and/or something that interfaces well with Gale's Bitcoin Wallet is the way to go.

III. Implement an interface with the mempool.

As I see it, the mempool is a secondary layer above the main protocol. So it may be best to ignore the rpc commands to trb and create an ad-hoc mempool. Essentially, trbexplorer may be the only interface into the trbexplorer mempool.

  1. ATM push is not a tested feature []

One Response to “Block Explorer Update”

  1. -----BEGIN PGP MESSAGE-----

    hQIMAzEl6p9PhMKrAQ/+MoMgp67RFiKv1D0prtaMXOi2O0yAZBOa9h6f9pkjqbHe
    wmLUqiLaFZOJf066G4GgvLiZrFuDRX3q8AR6fxdu9tCN4mG/pM9eCxzfLogKMUan
    OH+uwpOGohL5IJPwi9U0vUgzfn1eqlqWEz8m0Qqtvv7jFLeGMykKCKI+XSOVPYmO
    uWIcJc02ICS//dwzKRhl7G9O+t5y66kr0fdhoIra2PozrPZO8H/W7hRVvVBjbGqR
    4HeOiy2wPOcSndP/ULk7wcUXzFO+SN2IPKENyFOu6UYY68PeMT8m4KEJ5e4G+jdM
    DA/nXKaVc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vaE4wKg1FKtKj8obx6YBp0etr5y/s9q4aZVGZt3fNN0jJ2rPNB3mYwI
    AfPRz24sHoMCfAmD0JPg+2BXb0dbDlOVGjdDIY7oTOHOy9oMKbI1pG1p/iHB/nwh
    bmqDoALAch3v2BF+Ja48+dq7zTwxfk9cekn6ZD1PbjWY/qfhOC1fCQByvGVigayi
    9JzdgvJ7N3U3jzSJCZlVTbkoQ8ALW1MOqMJfrQJaQIMHIKpFLicZ8vHOZC85L5sq
    okqIfp+tr/iI+WwwKq9xO1qN+irNm00lPbeMirpYC/kPRQTKkaQHN/w4GJV34n6a
    6A3JzEjVo1zCQ+2PNH1jsJtdItncZnvMN67kkxYqMNpOTE1v8jynh0NAWHG+Ukdw
    y5HMEG3G+2y/VISk+HdF98CE2+cAD0h6UAJUNzh6U6XDKqArtgYwqhilATnjgioJ
    ItHYdlc+Zd8nOd9Sywpf+YC01NK/emPfot7iNQ9WjsBcVvkWrF6DEV2m0lxDM8b8
    ImzjKdqk2Es1dgUzRgVaXN8vjwwB1/7Q6AKfr/WnmjmyS63Jf1VW0JNbEyYMqLJm
    +k5jxPz4+NjnTQmcD4Ga8vVbNl2Ajo+3ELhbMW986APb8dPHYrJ/lVvzWfUhA5a1
    mrI1OXiqa/h9R/CZj7lCaza+B+Il3zugMkSjByEAg8yE4xfcJz3mApdVroI3WppJ
    klK9hJvh4OSF1tKYIVPzpUEnuz+l+YDRkdNd2Np368NxnQwzFps5dXJK6t51A47J
    LRU1DBlXRZilzKSrzramWlbuBmtT1gWbXc3yRmH2USGJWCXfJIQqIY+ZlxshQgfR
    zScxO9+L
    =pRtj
    -----END PGP MESSAGE-----

Leave a Reply