DECENT
Functions
Seeding

Functions

void seeding_startup (const string &account_id_type_or_name, DInteger content_private_key, const string &seeder_private_key, uint64_t free_space, uint32_t seeding_price, const string &seeding_symbol, const string &packages_path, const string &region_code=string())
 This method allows user to start seeding plugin from running application. More...
 
vector< seeder_object > list_seeders_by_price (uint32_t count) const
 Get a list of seeders by price, in increasing order. More...
 
optional< vector< seeder_object > > list_seeders_by_upload (const uint32_t count) const
 Get a list of seeders ordered by total upload, in decreasing order. More...
 
vector< seeder_object > list_seeders_by_region (const string &region_code) const
 Get a list of seeders by region code. More...
 
vector< seeder_object > list_seeders_by_rating (const uint32_t count) const
 Get a list of seeders ordered by rating, in decreasing order. More...
 
vector< seeder_objectgraphene::wallet::wallet_api::list_seeders_by_price (uint32_t count) const
 Get a list of seeders by price, in increasing order. More...
 
optional< vector< seeder_object > > graphene::wallet::wallet_api::list_seeders_by_upload (const uint32_t count) const
 Get a list of seeders ordered by total upload, in decreasing order. More...
 
vector< seeder_objectgraphene::wallet::wallet_api::list_seeders_by_region (const string &region_code) const
 Get a list of seeders by region code. More...
 
vector< seeder_objectgraphene::wallet::wallet_api::list_seeders_by_rating (const uint32_t count) const
 Get a list of seeders ordered by rating, in decreasing order. More...
 
void graphene::wallet::wallet_api::seeding_startup (const string &account_id_type_or_name, DInteger content_private_key, const string &seeder_private_key, uint64_t free_space, uint32_t seeding_price, const string &seeding_symbol, const string &packages_path, const string &region_code=string())
 This method allows user to start seeding plugin from running application. More...
 

Detailed Description

Function Documentation

◆ list_seeders_by_price() [1/2]

vector<seeder_object> list_seeders_by_price ( uint32_t  count) const

Get a list of seeders by price, in increasing order.

Parameters
countmaximum number of seeders to retrieve
Returns
a list of seeders

◆ list_seeders_by_price() [2/2]

vector< seeder_object > wallet_api::list_seeders_by_price ( uint32_t  count) const

Get a list of seeders by price, in increasing order.

Parameters
countmaximum number of seeders to retrieve
Returns
a list of seeders

Definition at line 3 of file wallet.cpp.

◆ list_seeders_by_rating() [1/2]

vector<seeder_object> list_seeders_by_rating ( const uint32_t  count) const

Get a list of seeders ordered by rating, in decreasing order.

Parameters
countthe maximum number of seeders to retrieve
Returns
a list of seeders

◆ list_seeders_by_rating() [2/2]

vector< seeder_object > wallet_api::list_seeders_by_rating ( const uint32_t  count) const

Get a list of seeders ordered by rating, in decreasing order.

Parameters
countthe maximum number of seeders to retrieve
Returns
a list of seeders

Definition at line 18 of file wallet.cpp.

◆ list_seeders_by_region() [1/2]

vector<seeder_object> list_seeders_by_region ( const string &  region_code) const

Get a list of seeders by region code.

Parameters
region_coderegion code of seeders to retrieve
Returns
a list of seeders

◆ list_seeders_by_region() [2/2]

vector< seeder_object > wallet_api::list_seeders_by_region ( const string &  region_code) const

Get a list of seeders by region code.

Parameters
region_coderegion code of seeders to retrieve
Returns
a list of seeders

Definition at line 13 of file wallet.cpp.

◆ list_seeders_by_upload() [1/2]

optional<vector<seeder_object> > list_seeders_by_upload ( const uint32_t  count) const

Get a list of seeders ordered by total upload, in decreasing order.

Parameters
countmaximum number of seeders to retrieve
Returns
a list of seeders

◆ list_seeders_by_upload() [2/2]

optional< vector< seeder_object > > wallet_api::list_seeders_by_upload ( const uint32_t  count) const

Get a list of seeders ordered by total upload, in decreasing order.

Parameters
countmaximum number of seeders to retrieve
Returns
a list of seeders

Definition at line 8 of file wallet.cpp.

◆ seeding_startup() [1/2]

void seeding_startup ( const string &  account_id_type_or_name,
DInteger  content_private_key,
const string &  seeder_private_key,
uint64_t  free_space,
uint32_t  seeding_price,
const string &  seeding_symbol,
const string &  packages_path,
const string &  region_code = string() 
)

This method allows user to start seeding plugin from running application.

Parameters
account_id_type_or_namename or ID of account controlling this seeder
content_private_keyEl Gamal content private key
seeder_private_keyprivate key of the account controlling this seeder
free_spaceallocated disk space, in MegaBytes
seeding_priceprice per MegaByte
seeding_symbolseeding price asset, e.g. DCT
packages_pathpackages storage path
region_codeoptional ISO 3166-1 alpha-2 two-letter region code

◆ seeding_startup() [2/2]

void wallet_api::seeding_startup ( const string &  account_id_type_or_name,
DInteger  content_private_key,
const string &  seeder_private_key,
uint64_t  free_space,
uint32_t  seeding_price,
const string &  seeding_symbol,
const string &  packages_path,
const string &  region_code = string() 
)

This method allows user to start seeding plugin from running application.

Parameters
account_id_type_or_namename or ID of account controlling this seeder
content_private_keyEl Gamal content private key
seeder_private_keyprivate key of the account controlling this seeder
free_spaceallocated disk space, in MegaBytes
seeding_priceprice per MegaByte
seeding_symbolseeding price asset, e.g. DCT
packages_pathpackages storage path
region_codeoptional ISO 3166-1 alpha-2 two-letter region code

Definition at line 66 of file wallet.cpp.