Overview
Comment: | Updated to abstract out mechanisms more and add a high-level set representative function |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
39d464b11cc575edf1f03e27076285dc |
User & Date: | rkeene on 2018-07-09 04:06:27 |
Other Links: | manifest | tags |
Context
2018-07-09
| ||
04:06 | Added start of man page check-in: ab46e73bd2 user: rkeene tags: trunk | |
04:06 | Updated to abstract out mechanisms more and add a high-level set representative function check-in: 39d464b11c user: rkeene tags: trunk | |
2018-07-08
| ||
21:41 | Keep tests around check-in: cdc1c61304 user: rkeene tags: trunk | |
Changes
Modified nano.tcl from [d9714fb5b7] to [c76ed0146c].
︙ | |||
927 928 929 930 931 932 933 934 935 936 937 938 939 940 | 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 | + + + + + + + + + + + + + + + + + + + + + - + - + | } proc ::nano::account::addPending {account blockHash amount} { set accountPubKey [::nano::address::toPublicKey $account -hex] dict set ::nano::account::pending $accountPubKey $blockHash amount $amount } proc ::nano::account::getPending {account args} { set accountPubKey [::nano::address::toPublicKey $account -hex] set retval [dict create] catch { set retval [dict get $::nano::account::pending $accountPubKey {*}$args] } return $retval } proc ::nano::account::clearPending {account args} { set accountPubKey [::nano::address::toPublicKey $account -hex] catch { dict unset ::nano::account::pending $accountPubKey {*}$args } return } proc ::nano::account::receive {account blockHash signKey} { set accountPubKey [::nano::address::toPublicKey $account -hex] set frontierInfo [getFrontier $account] dict with frontierInfo {} |
︙ | |||
997 998 999 1000 1001 1002 1003 | 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 | + - + + + - - + + + + + + + + + + + + + + + + + + + + + + + | proc ::nano::account::receiveAllPending {key {accountPubKey ""}} { set outBlocks [list] if {$accountPubKey eq ""} { set accountPubKey [::nano::key::publicKeyFromPrivateKey $key -hex] } set account [::nano::address::fromPublicKey $accountPubKey] |