Skip to main content
added 68 characters in body
Source Link
user1543
user1543

In the IRI, the byte size of a request hash is defined as having 46 bytes:

// Configuration.java
public static final String REQ_HASH_SIZE = "46";

However, in Hash.java the hash size of a regular transaction is 243 bytes.

For reference, it will be resolved here and all regular transactions will be defined as having 243 bytes allocated: https://github.com/iotaledger/iri/blob/dev/src/main/java/com/iota/iri/model/Hash.java#L66

Why is the requested hash size 46 bytes when the size of a transmitted transaction hash is 243 bytes?

Doesn't this make it impossible to actually request a transaction?

In the IRI, the byte size of a request hash is defined as having 46 bytes:

// Configuration.java
public static final String REQ_HASH_SIZE = "46";

However, in Hash.java the hash size of a regular transaction is 243 bytes.

For reference, it will be resolved here and all regular transactions will be defined as having 243 bytes allocated: https://github.com/iotaledger/iri/blob/dev/src/main/java/com/iota/iri/model/Hash.java#L66

Why is the requested hash size 46 bytes when the size of a transmitted transaction hash is 243 bytes?

In the IRI, the byte size of a request hash is defined as having 46 bytes:

// Configuration.java
public static final String REQ_HASH_SIZE = "46";

However, in Hash.java the hash size of a regular transaction is 243 bytes.

For reference, it will be resolved here and all regular transactions will be defined as having 243 bytes allocated: https://github.com/iotaledger/iri/blob/dev/src/main/java/com/iota/iri/model/Hash.java#L66

Why is the requested hash size 46 bytes when the size of a transmitted transaction hash is 243 bytes?

Doesn't this make it impossible to actually request a transaction?

edited title
Link
user1543
user1543

Why is the requested hash size 46 bytes when the hash of a transaction hash size is 243 bytes in size?

Source Link
user1543
user1543

Why is the requested hash size 46 bytes when the hash of a transaction is 243 bytes in size?

In the IRI, the byte size of a request hash is defined as having 46 bytes:

// Configuration.java
public static final String REQ_HASH_SIZE = "46";

However, in Hash.java the hash size of a regular transaction is 243 bytes.

For reference, it will be resolved here and all regular transactions will be defined as having 243 bytes allocated: https://github.com/iotaledger/iri/blob/dev/src/main/java/com/iota/iri/model/Hash.java#L66

Why is the requested hash size 46 bytes when the size of a transmitted transaction hash is 243 bytes?