From d3aebcaed3d4275bcbfabd19c726c67c1b558edd Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 13 Mar 2015 01:39:55 -0500 Subject: [PATCH] btcctl: Support - argument to read from stdin. This commit modifies the argument handling for btcctl to treat a parameter that is a single dash as an indicator to read that paramter from stdin instead. This change allows commands, such as the submitblock, to accept data piped from stdin for any parameter. This, in turn, allows large arguments, such as blocks, which can often be too big for a single argument due to Operating System limitations to be submitted by putting them into a file and redirecting stdin. For example: btcctl submitblock -