App::cryp::Role::Masternode - Role for Masternode drivers
This document describes version 0.001 of App::cryp::Role::Masternode (from Perl distribution App-cryp-mn), released on 2018-04-03.
Usage:
new(%args) => obj
Constructor. Known arguments:
Usage: $mn->list_masternodes => [$status, $reason, $payload, \%resmeta]
List all masternodes.
Method must return enveloped result. Payload must be an array containing masternode names (except when detail argument is set to true, in which case method must return array of records/hashrefs).
detail
Known options:
Boolean. Default 0. If set to 1, method must return array of records/hashrefs instead of just array of strings (masternode names).
Record must contain these keys: name (str), ip (IP address, str), port (port number, uint16). collateral_txid (collateral transaction ID, str), collateral_oidx (collateral's output index in collateral transaction, uint). Record can contain additional keys.
name
ip
port
collateral_txid
collateral_oidx
Please visit the project's homepage at https://metacpan.org/release/App-cryp-mn.
Source repository is at https://github.com/perlancar/perl-App-cryp-mn.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-cryp-mn
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2018 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::cryp::mn, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::cryp::mn
CPAN shell
perl -MCPAN -e shell install App::cryp::mn
For more information on module installation, please visit the detailed CPAN module installation guide.