routing: add validation of utxo
Add check that the edge that was received really exist in the blockchain and that the announced funding keys and capcity corresponds to reality.
This commit is contained in:
1 parent
19174ebdfd
commit
4bca54e30c
4 files changed
+94
-68
No files matched your search
@@ -65,11 +65,6 @@ func (r *mockGraphSource) UpdateEdge(policy *channeldb.ChannelEdgePolicy) error
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *mockGraphSource) AddProof(chanID uint8,
|
||||
proof *channeldb.ChannelAuthProof) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *mockGraphSource) SelfEdges() ([]*channeldb.ChannelEdgePolicy, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user