During transaction signing we pass around protocol_magic and network_id until they get used at the bottom level. It might be nicer and more readable if we would wrap these parameters into a single object. Or perhaps instead of just passing them around they could be made into global, session variables or something like that.
#62 (comment)