re: #15713 (review)
Thanks! This looks good and now net removes code (+63/-83).
Okay was thinking than node/transaction.cpp was temporary
Yeah, that may have been the original thought. But I think it could be a reasonable long term location if more things are moved around it. In any case it’s where the BroadcastTransaction function currently lives, so it’s easier not to move in this PR, which is more about simplifying wallet code.
and long term goal was to aggregate it to interfaces/node.cpp
Everything in interfaces/, including interfaces/node.cpp is just supposed to be very short glue code (the files would be huge otherwise). The interfaces are a way of letting wallet, node, and gui code run in different processes, and a way of preventing them from accessing each others internal state.