State: Draft
Based on the Peatio Stable branch
To the coin daemon's {coin}.conf
file, include the -walletnotify
command:
# Notify when receiving coins
p "Hello, World2" |
p "Hello, World" |
0xEebc586b728db1eDC1CF476fC1c40bD970c8294B |
0x5366fc68Ec44180E4a25b0Cd0E09A267D6Db3c71 |
0x5366fc68Ec44180E4a25b0Cd0E09A267D6Db3c71 |
State: Draft
Based on the Peatio Stable branch
To the coin daemon's {coin}.conf
file, include the -walletnotify
command:
# Notify when receiving coins
#!/bin/bash | |
LINKS=$1 | |
LOG=$2 | |
wget --input-file=$LINKS --output-file $LOG | |
# usage | |
# chmod +x fasterdownloadwithwget.sh | |
# ./fasterdownloadwithwget.sh links_file log_file | |
# go and have fun ! |
-module(assignment). | |
-export([perimeter/1,area/1,enclose/1,bits/1]). | |
perimeter({square,R}) -> | |
4 * R; | |
perimeter({triangle,A,B,C}) -> | |
A + B + C; | |
perimeter({circle,R}) -> | |
2 * math:pi() * R . |
-module(bitcount). | |
-export([bitcount/1]). | |
bitcount(V) -> | |
bitcount(V, 0). | |
bitcount(0, C) -> | |
C; | |
bitcount(V, C) -> | |
bitcount( (V band (V - 1)), (C + 1)). |
-module(recursion). | |
-export([fac/1,fib/1,cut/1]). | |
fac(0) -> | |
1; | |
fac(N) when N>0 -> | |
fac(N-1) * N; | |
fac(N) when N<0 -> | |
io:fwrite("Postieve number please", []). |