mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-03-22 16:13:45 +00:00
the new function AddUserAgent adds the user agent to the stack and formats it as per BIP 0014 e.g: "/btcwire:0.1.4/myclient:1.2.3(optional; comments)/" the validation on UserAgent has been moved to a new function validateUserAgent
20 KiB
20 KiB