Overview
Comment: | Removed functions which are no longer public |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f1e2991833c38899a7e46cec69272717 |
User & Date: | rkeene on 2018-11-19 19:52:13 |
Other Links: | manifest | tags |
Context
2018-11-19
| ||
20:12 | Made help text more consistent check-in: 4a4d2c1e37 user: rkeene tags: trunk | |
19:52 | Removed functions which are no longer public check-in: f1e2991833 user: rkeene tags: trunk | |
19:42 | Use mandoc from AppFS to generate wiki HTML page check-in: d296d2695e user: rkeene tags: trunk | |
Changes
Modified nano.man from [07230d0ca8] to [59acc08d34].
︙ | ︙ | |||
723 724 725 726 727 728 729 | Validate the proof-of-work (PoW) in the object specified as .I blockRepresentation with the attribute .B work is valid for the block passed in. .RR | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 | Validate the proof-of-work (PoW) in the object specified as .I blockRepresentation with the attribute .B work is valid for the block passed in. .RR .TP .B ::nano::block::signBlockHash .I blockHash .I privateKey .RB ? -hex | -binary ? .RI " -> " signature Compute an Ed25519-with-Blake2b signature of a given block hash specified as .I blockHash with the private key specified as .IR privateKey . In Nano, signed blocks are signed by signing the block's hash thus all that is needed to sign a block is its hash and the private key that corresponds to the account. .B NOTE: Ensure that the .I privateKey .B specified matches the account the block belongs to. .HB .TP .B ::nano::block::verifyBlockHash .I blockHash .I signature .I publicKey .RI " -> " boolean Verify that a block hash .RI ( blockHash ) was signed .RI ( signature ) by an account holding the private key that corresponds to the public key specified as .IR publicKey . .TP .B ::nano::block::create::send .BI "from " address .BI "to " address .BI "previous " blockHash .BI "representative " address .BI "previousBalance " integer |
︙ | ︙ |