Overview
| Comment: | Use a dict for account tracking |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
4dba0fcb544aa2220a3208ed4cdb44d6 |
| User & Date: | rkeene on 2018-07-03 19:03:10.204 |
| Other Links: | manifest | tags |
Context
|
2018-07-03
| ||
| 19:03 | Add support for computing and validating work check-in: 78a7632dc9 user: rkeene tags: trunk | |
| 19:03 | Use a dict for account tracking check-in: 4dba0fcb54 user: rkeene tags: trunk | |
| 06:03 | Ensure the correct version of the package is provided check-in: 0938293f53 user: rkeene tags: trunk | |
Changes
Modified nano.tcl
from [8dfa10c41c]
to [d4333092df].
| ︙ | |||
649 650 651 652 653 654 655 | 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 | - + - - + + |
return [dict get $frontier {*}$args]
}
proc ::nano::account::addPending {account blockHash amount} {
set accountPubKey [::nano::address::toPublicKey $account -hex]
|
| ︙ | |||
711 712 713 714 715 716 717 | 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 | - + + - + + + + + + - + - | setFrontier $fromAccount $newFrontierHash $newBalance $fromRepresentative addPending $toAccount $newFrontierHash $amount return $block } |