• Felix Lange's avatar
    rpc: add PeerInfo (#24255) · 5bcbb298
    Felix Lange authored
    This replaces the sketchy and undocumented string context keys for HTTP requests
    with a defined interface. Using string keys with context is discouraged because
    they may clash with keys created by other packages.
    
    We added these keys to make connection metadata available in the signer, so this
    change also updates signer/core to use the new PeerInfo API.
    5bcbb298
api.go 23.2 KB