src/coins/compress.js
function sizeOutput(output) {
  let size = 0;
  size += encoding.sizeVarint(output.value);
  size += sizeScript(output.script);
  return size;
}
function sizeOutput(output) {
  let size = 0;
  size += encoding.sizeVarint(output.value);
  size += sizeScript(output.script);
  return size;
}
function sizeOutput ( output ) { let size = 0 ; size += encoding . sizeVarint ( output . value ) ; size += sizeScript ( output . script ) ; return size ; }
Calculate output size.
@returns {Number}
Calculate output size .