This allows a caller-provided tag to be associated with orphan
transactions. This is useful since the caller can use the tag for
purposes such as keeping track of which peers orphans were first seen
from.
Also, since a parameter is required now anyways, it associates the peer
ID with processed transactions from remote peers.
This continues progress towards being able to split the rpcserver into a
separate internal package.
It moves the rpcserverSyncManager interface to the internal package as
the SyncManager interface so it becomes rpcserver.SyncManager and
updates the code to use the moved interface.
This continues progress towards being able to split the rpcserver into a
separate internal package.
It moves the rpcserverConnManager interface to the internal package as
the ConnManager interface so it becomes rpcserver.ConnManager and
updates the code to use the moved interface.
This is the first of a series of commits that aims to make progress
towards being able to split the rpcserver into a separate internal
package.
It consists of creating the package, moving the rpcserverPeer interface
to the new package as the Peer interface so it becomes rpcserver.Peer
and updating the code to use the moved interface.