Fix a freeze of the gRPC server eventually stalling the full node.
The freeze would only crop up in very rare occasions requiring very high traffic load and proved hard to spot.
In addition to that, this PR also:
ensures the RPC max clients (arg --rpcmaxclients) is strictly respected (previously the limit could slightly be exceeded),
changes the behavior of the the RPC SubmitTransaction method: when the node is running in safe mode, a transaction submitted with allow_orphan = true will be automatically transformed into allow_orphan = false and actually be submitted instead of being rejected early,
Fix a freeze of the gRPC server eventually stalling the full node.
The freeze would only crop up in very rare occasions requiring very high traffic load and proved hard to spot.
In addition to that, this PR also:
--rpcmaxclients
) is strictly respected (previously the limit could slightly be exceeded),SubmitTransaction
method: when the node is running in safe mode, a transaction submitted withallow_orphan = true
will be automatically transformed intoallow_orphan = false
and actually be submitted instead of being rejected early,