2021-04-19 21:25:34 +02:00
|
|
|
package server
|
2021-03-18 22:14:56 +01:00
|
|
|
|
|
|
|
import (
|
|
|
|
pb "github.com/lbryio/hub/protobuf/go"
|
|
|
|
)
|
|
|
|
|
2021-04-19 21:25:34 +02:00
|
|
|
type Server struct {
|
2021-03-18 22:14:56 +01:00
|
|
|
pb.UnimplementedHubServer
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
'blockchain.block.get_chunk'
|
|
|
|
'blockchain.block.get_header'
|
|
|
|
'blockchain.estimatefee'
|
|
|
|
'blockchain.relayfee'
|
|
|
|
'blockchain.scripthash.get_balance'
|
|
|
|
'blockchain.scripthash.get_history'
|
|
|
|
'blockchain.scripthash.get_mempool'
|
|
|
|
'blockchain.scripthash.listunspent'
|
|
|
|
'blockchain.scripthash.subscribe'
|
|
|
|
'blockchain.transaction.broadcast'
|
|
|
|
'blockchain.transaction.get'
|
|
|
|
'blockchain.transaction.get_batch'
|
|
|
|
'blockchain.transaction.info'
|
|
|
|
'blockchain.transaction.get_merkle'
|
|
|
|
'server.add_peer'
|
|
|
|
'server.banner'
|
|
|
|
'server.payment_address'
|
|
|
|
'server.donation_address'
|
|
|
|
'server.features'
|
|
|
|
'server.peers.subscribe'
|
|
|
|
'server.version'
|
|
|
|
'blockchain.transaction.get_height'
|
|
|
|
'blockchain.claimtrie.search'
|
|
|
|
'blockchain.claimtrie.resolve'
|
|
|
|
'blockchain.claimtrie.getclaimsbyids'
|
|
|
|
'blockchain.block.get_server_height'
|
|
|
|
'mempool.get_fee_histogram'
|
|
|
|
'blockchain.block.headers'
|
|
|
|
'server.ping'
|
|
|
|
'blockchain.headers.subscribe'
|
|
|
|
'blockchain.address.get_balance'
|
|
|
|
'blockchain.address.get_history'
|
|
|
|
'blockchain.address.get_mempool'
|
|
|
|
'blockchain.address.listunspent'
|
|
|
|
'blockchain.address.subscribe'
|
|
|
|
'blockchain.address.unsubscribe'
|
|
|
|
*/
|