The `ttl` field of the `Branca` struct is never used. Instead, `decode()` takes a separate TTL. Maybe the `ttl` field should be removed?