Skip to main content

Module resharing

Module resharing 

Source
Expand description

Resharing defines. Resharing account details.

Modules§

data_account
shard_account_1
shard_account_2
shard_account_3
shard_account_4
shard_account_5
shard_account_6
shard_account_7
shard_account_8
shard_account_9
shard_account_10
staging_account
10 way sharding of the staging data account.

Structs§

ShardAggregate
Info for agggeating from the shards.
ShardChunk
Info about the chunk in a shard.

Enums§

ResharingShardInstruction

Constants§

CHUNK_SIZE
ID
The const program ID.
RESHARING_DATA_ACCOUNT_ID
Backwards-compatible alias for the resharing data account ID.
RESHARING_PROGRAM_ID
Backwards-compatible alias for the resharing program ID.
RESHARING_STAGING_SHARD_1_ACCOUNT_ID
Backwards-compatible alias for the resharing shard account IDs.
RESHARING_STAGING_SHARD_2_ACCOUNT_ID
RESHARING_STAGING_SHARD_3_ACCOUNT_ID
RESHARING_STAGING_SHARD_4_ACCOUNT_ID
RESHARING_STAGING_SHARD_5_ACCOUNT_ID
RESHARING_STAGING_SHARD_6_ACCOUNT_ID
RESHARING_STAGING_SHARD_7_ACCOUNT_ID
RESHARING_STAGING_SHARD_8_ACCOUNT_ID
RESHARING_STAGING_SHARD_9_ACCOUNT_ID
RESHARING_STAGING_SHARD_10_ACCOUNT_ID

Functions§

check_id
Returns true if given pubkey is the program ID.
id
Returns the program ID.
staging_shard_accounts