c18e166e03
In this commit, we extend the WitnessGenerator type to now return an InputScript. This allows it to be more encompassing, as now callers can expect a sigScript to be populated if the input being swept requires a sigScript field. Along the way, we've also renamed input.BuildWitness to input.CraftInputScript. We also take a step towards allowing the sweeper to sweep transactions for n2pwkh outputs. We do so by modifying the BuiltWitness method to instead return an InputScript. Additionally, when populating inputs if a sigScript is present, it will now be populated. |
||
---|---|---|
.. | ||
backend_mock_test.go | ||
defaults_rpctest.go | ||
defaults.go | ||
fee_estimator_mock_test.go | ||
input.go | ||
log.go | ||
store_mock.go | ||
store_test.go | ||
store.go | ||
sweeper_test.go | ||
sweeper.go | ||
test_utils.go | ||
txgenerator.go | ||
walletsweep.go |