getByteCount method
Calculates and returns byte count of a transaction
Implementation
static int getByteCount(int inputs, int outputs) {
return ((inputs * 148 * 4 + 34 * 4 * outputs + 10 * 4) / 4).ceil();
}
Calculates and returns byte count of a transaction
static int getByteCount(int inputs, int outputs) {
return ((inputs * 148 * 4 + 34 * 4 * outputs + 10 * 4) / 4).ceil();
}