mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-20 13:27:27 +02:00
Remove the following deprecated RPC definitions that were announced for
removal in 0.21 via the 0.20 release notes:
lnrpc:
- SendPayment (bidirectional streaming)
- SendPaymentSync
- SendToRoute (bidirectional streaming)
- SendToRouteSync
routerrpc:
- SendPayment (streaming)
- SendToRoute
- TrackPayment (streaming)
Also remove the now-unused PaymentState enum and PaymentStatus message
that were only used by the deprecated TrackPayment response stream, plus
the corresponding REST annotations from the yaml files.
Drop the now-orphan routerrpc.SendToRouteResponse message that was only
referenced by the deleted routerrpc.SendToRoute RPC.
Also remove the deprecated outgoing_chan_id field from
lnrpc.QueryRoutesRequest (tag 14) and routerrpc.SendPaymentRequest
(tag 8); their tag numbers are now reserved. Callers must use the
multi-channel outgoing_chan_ids field introduced in 0.20.
Drop the compat fallback in router_backend.go that previously consumed
the field, and regenerate all protobuf, gRPC, REST gateway, JSON, and
swagger files.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| alloy-models | ||
| grpc | ||
| release-notes | ||
| rest | ||
| backport-workflow.md | ||
| benchmark_perf_loop.md | ||
| code_contribution_guidelines.md | ||
| configuring_tor.md | ||
| db_migration_guide.md | ||
| debugging_lnd.md | ||
| development_guidelines.md | ||
| DOCKER.md | ||
| estimate_route_fee.md | ||
| forwarding_history_privacy.md | ||
| fuzz.md | ||
| gossip_rate_limiting.md | ||
| INSTALL.md | ||
| key_import.md | ||
| leader_election.md | ||
| macaroons.md | ||
| MAKEFILE.md | ||
| musig2.md | ||
| onion_message_rate_limiting.md | ||
| postgres.md | ||
| psbt.md | ||
| recovery.md | ||
| release.md | ||
| release_branch_management.md | ||
| remote-signing.md | ||
| review.md | ||
| safety.md | ||
| signing_release_candidate.md | ||
| SphinxReplayDB.md | ||
| sqlite.md | ||
| wallet.md | ||
| watchtower.md | ||
| zero_conf_channels.md | ||