Merge pull request #216 from hermeznetwork/feature/batch-total-fee

Calulate total collected batch fee and fix merkleproof api format
This commit is contained in:
Eduard S
2020-10-22 14:28:49 +02:00
committed by GitHub
6 changed files with 125 additions and 49 deletions

View File

@@ -1968,33 +1968,25 @@ components:
description: Existence proof of a leaf in a given Merkle Root. Encoded as hexadecimal string.
properties:
Root:
type: array
items:
type: integer
$ref: '#/components/schemas/BigInt'
Siblings:
type: array
items:
type: integer
$ref: '#/components/schemas/BigInt'
OldKey:
type: array
items:
type: integer
$ref: '#/components/schemas/BigInt'
OldValue:
type: array
items:
type: integer
$ref: '#/components/schemas/BigInt'
IsOld0:
type: boolean
Key:
type: array
items:
type: integer
$ref: '#/components/schemas/BigInt'
Value:
type: array
items:
type: integer
$ref: '#/components/schemas/BigInt'
Fnc:
type: integer
maximum: 3
minimum: 0
required:
- Root
- Siblings