Giter Club home page Giter Club logo

nano-node's People

Contributors

androm3da avatar argakiig avatar arugulabowl avatar clemahieu avatar cryptocode avatar ctummon avatar dannyvankooten avatar dekoze avatar devinus avatar drizzt avatar dsiganos avatar elliottminns avatar exxenoz avatar gr0vity-dev avatar guilhermelawless avatar jamescoxon avatar lukealonso avatar not-ian avatar plasmapower avatar pwojcikdev avatar qwahzi avatar rickinano avatar rkeene avatar sergiysw avatar shryder avatar simpago avatar theohax avatar thsfs avatar wezrule avatar zhyatt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nano-node's Issues

Login into Telegram

Since last login on Telegram of @clemahieu is nearly 6 months ago, if @clemahieu doesn't log again the chat will remain without an admin forever.

That because Telegram delete account that doesn't login from 6 months.

Add in config.json the possibility to disable incoming tx

IDK if it's needed. But i suppose that a node that hosts an account with a delegate PoS (so without own funds) can be slowed or crashed if while voting it's filled (like a DoS) of incoming tx which require a lot of computing time.

If yes, maybe could be add a paramater to disable processing incoming tx for a node or a wallet or a account in config.json

Add broadcast_min to config.json

A minimal amount that can be send.

Normal peer won't forward block if amount is under the minimum.
Voting peers won't vote for it or will vote negative.

Ubuntu 14.04, Debian 8.7, CentOS 7 launch errors (libstdc++.so.6)

Cannot launch rai_wallet at Ubuntu 14.04 LTS. No errors shown
rai_node launch errors
./rai_node: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by ./rai_node) ./rai_node: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ./rai_node)

Debian 8.7 rai_node launch error
./rai_node: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./rai_node)

CentOS 7 rai_node launch errors
./rai_node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by ./rai_node) ./rai_node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ./rai_node)

Blockchain size

In a previous reply, @clemahieu told that a full tx (send+receive) weight 2176 bits ( 272 byte ).

From my summary viewer (https://raiblockscommunity.net/page/summary.php) I notice that data.ldb is 253.59 MB large, with 247,257 of total blocks. File system is a ext4.

It makes 1,026 byte for block (about 1Kb).

A single tx on my disk space is wide almost like 10 txs declared by @clemahieu.

Is that a file system "problem"?

Erase all numbers before 1 Rai import

There are 10^24 possibile combination before 1 Rai value.
These numbers can be used to store information, making chain heavier for non-transfer money usage.

If client make all number before 1 Rai to 0, and nodes reject tx with non 0 before 1 Rai should be a good solution.

Light RPC for light wallets

Light RPC with very limited access to node to functions like: retrieve a particular account's chain, etc... to allow light nodes to connect.

Example in config.json

"lightrpc_enable": "true"

Unique diffent log file for each kind of log

Unique log file for each kind of log:
Max size refer to each unique log.

   "logging": {
        "ledger": "false",
        "ledger_duplicate": "false",
        "network": "true",
        "network_message": "false",
        "network_publish": "false",
        "network_packet": "false",
        "network_keepalive": "false",
        "node_lifetime_tracing": "false",
        "insufficient_work": "true",
        "log_rpc": "true",
        "bulk_pull": "false",
        "work_generation_time": "true",
        "log_to_cerr": "false",
        "max_size": "16777216",
        "version": "2",
        "work_peers": "",
        "vote": "false"
    },

RPC proposals

  • 661d5ed 26f9beb All node options to be available via RPC, such as account_get, account_key, key_create, key_expand, wallet_change_seed, wallet_decrypt_unsafe, wallet_list
    Some of them are not safe to print in logs, perhaps just replace seeds/private keys in log files with zeroes.

  • [mikerow] Username and Password authentication for RPC. Or perhaps default username and random password is enough — SergiySW

  • RPC command to stop bootstrap

  • 094708d RPC command to rebroadcast block

  • 26f9beb RPC command to retrieve frontiers for wallet
    { "action": "wallet_frontiers", "wallet": "000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F" }

  • 34e9a9c RCP command to force bootstrap to specific peer like
    { "action": "bootstrap", "peer": "::ffff:128.199.199.97:7075" }

  • Return error message as JSON. Now you can view error output only in curl. In JavaScript it's just empty server answer. Sample
    { "error": "Invalid block hash" }

  • Add HTTP response header “Access-Control-Allow-Origin: *” to RPC answers would be useful to control node via browsers JavaScript. Otherwise modern browsers block JSON response.

  • Add RPC command to retrieve release version e.g. 7.5.0

  • [mikerow] RPC to change an account representative instead compile a block by yourself with "publish_block".

  • RPC to see blocks downloaded but not yet in the ledger. Perhaps just expand response of { "action": "block_count" }

  • RPC to see pending incoming transactions for account

GUI wallet block count

Sometimes the block count isn't correct requiring restart.

Possible race condition in refresh_count read transactions with write transactions that caused the block update.

Maybe poll this value or filter/delay the update.

Try to updaate but not loading now

Hi
I try to update to latest version of wallet ..everything done successful ..but now the wallet is not opening ..
When i click the wallet icon it blink for 2-3 second then nothing is happening ..

i try to uninstall it and reinstall but same problem persist ..Now old version is also not working also .. do you know what is the problem ..
also i am not getting error also solve it can you tell any solution

More PoW

Make send/receive tx hash work harder, something like a 3-5x difficulty

Change DNS records for rai.raiblocks.net

Change DNS records for rai.raiblocks.net to stable community nodes such as 51.255.160.144, 138.201.94.249, 64.137.172.219. Now all default nodes from rai.raiblocks.net are offline and wallets with default config cannot bootstrap.

Possible improvment to avoid rollback

Rollback are prevented secondary (if DPoS fails) by the amount of PoW for each block.

The node doesn't approve fork with a shorter chain but (maybe) ATM the wallet check only if the current block count is lower or higher than the one proposed by the fork.

Instead of count only the total number of blocks, shouldn't be more safe, count the block for each account?

Ex:

(now)

A: 5tx
B: 10tx

proposed fork

A: 5tx
B: 5tx
C: 20tx

The fork pass

(with the improvment)

A: 5tx
B: 10tx

proposed fork

A: 5tx
B: 5tx
C: 20tx

The fork doesn't pass because the fork propose shorter chain for account A and B

Block count for an account

Chance to get the number of blocks for each account, without using "chain" call which return hash too.

block missing

see it

i send 9k mrai but he have not get.

hash no CD50395C93ED4BA159AE37B8806270F81CD2AE75CC48CFCD3A0FDF563447427F

Replace "Mrai from raw" and "Mrai to raw"

For conversion of units, you could do something like:

To Raw
{ "action": "to_raw", "unit": "Grai/Mrai/Krai/Rai/mrai/urai","amount": "1" }

From Raw
{ "action": "from_raw", "unit": "Grai/Mrai/Krai/Rai/mrai/urai","amount": "100000000000000000" }

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.