Defined in github.com/btcsuite/btcd/rpcwebsocket.go
RegisterSpentRequests requests a notification when each of the passed outpoints is confirmed spent (contained in a block connected to the main chain) for the passed websocket client. The request is automatically removed once the notification has been sent.
} wsc.server.ntfnMgr.RegisterSpentRequests(wsc, outpoints) return nil, nil }
again = false n := wsc.server.ntfnMgr n.RegisterSpentRequests(wsc, lookups.unspentSlice()) n.RegisterTxOutAddressRequests(wsc, cmd.Addresses) }
RegisterSpentRequests is referenced in 1 repositorygithub.com/btcsuite/btcd
- 2 references in rpcwebsocket.go