GithubHelp home page GithubHelp logo

zwilla / aeternity-testnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shouhuas/testnet

0.0 0.0 0.0 4.5 MB

æternity testnet: solving scalability problems by making sense of state-channels

License: Other

Shell 10.28% Erlang 77.12% Forth 1.58% HTML 1.02% JavaScript 10.01%

aeternity-testnet's People

Contributors

keypair avatar zack-bitcoin avatar zwilla avatar

Watchers

 avatar  avatar  avatar

aeternity-testnet's Issues

Compile instructions for Aeternity's whitepaper

download for:

Compile / create pdf

  1. get the source document https://github.com/aeternity/whitepaper/archive/master.zip,
  2. unzip it,
  3. Open the LaTex Editor of your choice,
  4. open the path to the Aeternity whitepaper,
  5. export to pdf.

More here (https://www.latex-project.org/get/)

git clone "testnet " missing

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

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] - [sh scripts] work now fine for testnet

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

[HOW-TO] add trusted peers, start sync, start mining automatic

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),

rm blocks/*.db not working!

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.