Overview
Comment: | Added notes on addresses |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
52ac580c8e3735e642e1ee3daa51ec6b |
User & Date: | rkeene on 2018-07-10 19:48:29 |
Other Links: | manifest | tags |
Context
2018-07-10
| ||
19:57 | Fixed several spelling issues check-in: 34bbbfa2fb user: rkeene tags: trunk | |
19:48 | Added notes on addresses check-in: 52ac580c8e user: rkeene tags: trunk | |
19:27 | Added dependencies check-in: 84a49387e9 user: rkeene tags: trunk | |
Changes
Modified nano.man from [df544245cb] to [528fa84ed3].
︙ | |||
305 306 307 308 309 310 311 312 313 314 315 316 317 318 | 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 | + + + + + + + + + + + + + + + + + + + + + + + + + | Balances in Nano are stored in a 128-bit integer value. There are various units for representing the balance, the smallest and base unit is called .RI \(dq raw \(dq. The most common unit for users to use is called .RI \(dq Nano \(dq, one of which is equal to 1e30 raw. .SS Addresses Nano addresses are composed of a prefix (either .RB \(dq nano_ \(dq or .RB \(dq xrb_ \(dq) and 300 bits of base32 encoded data. The 300-bits of base32 encoded data produce a string that is 6 charectars long using the base32 alphabet .BR 13456789abcdefghijkmnopqrstuwxyz . The format of these 300 bits are .EX [Padding (4 bits: 0)].[Public Key (256 bits)].[Checksum (40 bits)] .EE For example the public key .B DC1512154EB72112B8CC230D7B8C7DD467DA78E4763182D6CAFAADB14855A5E8 would be encoded as .B 0000.DC1512154EB72112B8CC230D7B8C7DD467DA78E4763182D6CAFAADB14855A5E8.9C46A37418 which when encoded in base32 and the prefix added produces the address .BR nano_3q1o4acnxfs34cwerarfhg89uo59ubwgaxjjiddeoyofp767dbhamj5c8x1r . The checksum is computed as a 5 byte (40 bit) Blake2b hash of the 256-bit public key (in binary format), followed by reversing the bytes. .SH PROCEDURES .SS Addresses .TP .B ::nano::address::toPublicKey .I address .RB ? -hex | -binary ? |
︙ |