runonbitcoin / run-db

An indexer that crawls the blockchain and calculates RUN states
MIT License
24 stars 22 forks source link

Add validation to DEFAULT_TRUSTLIST environment variable #7

Closed david0178418 closed 1 year ago

david0178418 commented 3 years ago

I thought the BSV library would have a utility function to validate a transaction id, but I couldn't seem to find one. However, it seems to be just a string of length 64 containing hex characters.

Also, from an organizational perspective, I'm not sure if you'd like this function in some other location.

image