Port other electrum endpoints to hub #3
Labels
No labels
consider soon
documentation
good first issue
hacktoberfest
help wanted
priority: blocker
priority: high
priority: low
priority: medium
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/herald.go#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
search
headers
need an API that returns N headers. it will replace all of the following
API:
getHeaders(startHeight, numHeaders)
make sure that
0 < numHeaders <= 40960
, though this upper limit may not be the right one anymore. why do we have it? just because we need some limit?when Go hub starts, connect to python block processor and load all current headers. keep them in ram
subscribe to block processor's zmq notifications for new headers. full header will be in there.
blockchain.headers.subscribe(don't do this until Go hub can read from block processor db directly - aka till we switch to rocksdb)db
federation
speced in #6
other
don't do any of the ones below
needs reorg support
tx can change blocks during a reorg, so we need to handle that correctly to do all this
otoh, doing this reorg support is way easier than doing resolve reorgs. and in fact, btcd may already have all this implemented
blockchain.transaction.get_merkle
blockchain.transaction.get (depends on get_merkle)
blockchain.transaction.get_batch (depends on get_merkle)
blockchain.transaction.info (depends on get_merkle)
blockchain.transaction.get_height
blockchain.address.get_history
blockchain.address.subscribe
blockchain.address.unsubscribe
resolve
wait on this till roy/brannon finish porting chain to Go. they'll be implementing this
blockchain.claimtrie.resolve
unused
blockchain.address.get_mempool
blockchain.estimatefee
blockchain.relayfee
blockchain.scripthash.get_balance
blockchain.scripthash.get_history
blockchain.scripthash.get_mempool
blockchain.scripthash.listunspent
blockchain.scripthash.subscribe
server.banner
server.payment_address
server.donation_address
mempool.get_fee_histogram
blockchain.address.get_balance
blockchain.address.listunspent