Skip to content

Commit

Permalink
feat: increase max pss target
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Aug 19, 2021
1 parent 53804a3 commit 66ce720
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ export interface Dictionary<T> {
}

export const ADDRESS_HEX_LENGTH = 64
export const PSS_TARGET_HEX_LENGTH_MAX = 4

/**
* Maximum accepted length of target of hex string.
*
* @see https://github.com/ethersphere/bee/blob/master/pkg/api/pss.go#L29
*/
export const PSS_TARGET_HEX_LENGTH_MAX = 6
export const PUBKEY_HEX_LENGTH = 66
export const BATCH_ID_HEX_LENGTH = 64
export const REFERENCE_HEX_LENGTH = 64
Expand Down

0 comments on commit 66ce720

Please sign in to comment.