TrueBlocks / trueblocks-core

The main repository for the TrueBlocks system
https://trueblocks.io
GNU General Public License v3.0
1.04k stars 194 forks source link

Todo - save for later #3630

Closed tjayrush closed 1 month ago

tjayrush commented 2 months ago

Do not include version in module name

"github.com/TrueBlocks/trueblocks-core/sdk"

Do not commit go.work

Do create a script to build a local go.work (include this in the README)

Do not use replace in examples go.mod

For now, we will continue to use strings for blocks ids and transaction ids. We can later expose Identifiers (perhaps with less options? Maybe separate out blockIdentifiers and txIdentifiers)

If one of the options in a route creates a separate function, remove that option from the Options type in the SDK so the user cannot get an invalid type.

Add Monitors and Scraper to SDK

sdk.StartScraper(func)

sdk.Monitor(Address, func)