zwilla / aeternity-testnet Goto Github PK
View Code? Open in Web Editor NEWThis project forked from shouhuas/testnet
æternity testnet: solving scalability problems by making sense of state-channels
License: Other
This project forked from shouhuas/testnet
æternity testnet: solving scalability problems by making sense of state-channels
License: Other
download for:
Compile / create pdf
More here (https://www.latex-project.org/get/)
so I added the port behind the start.sh like this
sh start.sh 3010
Trying to follow the setup instructions
git clone https://github.com/aeternity/testnet.git
remote: Repository not found.
fatal: repository 'https://github.com/aeternity/testnet.git/' not found
Navigated to the source and there is no testnet project.
==============================================
root@Miner:/home/user/aeternity-testnet# sh start.sh
start.sh: 1: start.sh: Linux: not found
start.sh: 14: start.sh: [[: not found
start.sh: 23: start.sh: [[: not found
rm: cannot remove 'yesclean.txt': No such file or directory
Do you want to clean the keys and blocks now? Hit enter for YES on enter n for no! Default YES
clean.sh: 43: read: Illegal option -t
clean.sh: 44: clean.sh: [[: not found
rm: cannot remove 'data/.db': No such file or directory
rm: cannot remove 'blocks/.db': No such file or directory
clean.sh: 52: read: Illegal option -t
clean also depencies now? Hit Enter for No, or typ y for YES
clean.sh: 55: clean.sh: [[: not found
clean.sh: 67: read: Illegal option -t
install now? Hit Enter for NO, or typ y for YES
clean.sh: 70: clean.sh: [[: not found
other sh script do it now if called!
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V7.3 (abort with ^G)
1> {"init terminating in do_boot",{undef,[{serve,pw,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Crash dump is being written to: erl_crash.dump...done
init terminating in do_boot ()
root@Miner:/home/user/aeternity-testnet#
unresolved functions
accounts:balance
accounts:nonce
accounts:update
accounts:addr
block_tree:account
block_tree:channel
block_tree:height
block_tree:read_int
block_tree:txs
block_tree:buy_block
channel_feeder:simplify
channels:acc1
channels:acc2
channels:bal1
channels:bal2
channels:empty
channels:read_channel
channel_manager:id
channel_manager:read_channel
channel_manager_feeder:recieve
channel_manager_feeder:spend_account
channel_slash_tx:channel_block
channel_solo_close:make
channel_slash_tx:make
channel_timeout:make
channel_timeout_tx:channel_block
compiler:compile
constants:blocks
constants:block_pointers
constants:accounts
constants:all_secrets
constants:d_accounts
constants:channels
constants:d_channels
constants:entropy
create_account_tx:create_account
dict:delete
dict:remove
encryption:get_msg
free_variables:bets
hash:doit
hash:file
hash:hash_depth
keys:sign
language:assemble
language:run_script
new_channel_tx:make
spend_tx:spend
sign_tx:sign
tx_pool:accounts
How to use on osx and linux:
This installs aeternity testnet:
sh install.sh
Run this for clean start on errors:
sh clean.sh
Run this only for a restart without changes on the source:
sh start.sh
Adding this on file: ../src/networking/serve.erl
% EXTERNAL trusted aeternity peers peers:add([46,101,103,165], 8080), peers:add([52, 36, 106, 100], 8080), % INTERNAL trusted aeternity peers peers:add([127, 0, 0, 1], 8040), peers:add([127, 0, 0, 1], 3010), peers:add([127, 0, 0, 1], 3020), peers:add([127, 0, 0, 1], 3030), % show peers peers:all(), %sync now easy:sync(), %start mining mine:start().
after this code:
{ok, _} = cowboy:start_http(http, 100, [{ip, {0,0,0,0}},{port, Port}], K),
the command rm blocks/*.db;
is not working if there are many block entries.
Solution:
rm -R blocks; mkdir -p blocks;
affected to some testnet shell scripts.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.