Git Product home page Git Product logo

Comments (14)

Jim8y avatar Jim8y commented on July 1, 2024 2

"broken node, please fix it". No one cares if it's a plugin, it's an essential thing for most users.

Yeap. When some plugins breaks, if we could let the wallets and explorers works as usual, it would be better. We surely need to fix any official plugins. But it's not necessary to break so many tools. I have to express my appreciation to onegate here. They didn't stuck at all at this time.

I'm not sure how onegate managed to survive when the ApplicationLog plugins break. But it shows that ApplicationLog is not as important as the core node itself.

i am working to run each plugin in seperate process.

from neo.

superboyiii avatar superboyiii commented on July 1, 2024 1

@dusmart The fees are different, but I'm not sure if they should:

neoxp policy get -r https://testnet1.neo.coz.io
             GasPerBlock: 500000000 (5 GAS)
    MinimumDeploymentFee: 1000000000 (10 GAS)
CandidateRegistrationFee: 100000000000 (1000 GAS)
        OracleRequestFee: 10000000 (0.1 GAS)
       NetworkFeePerByte: 20 (0.0000002 GAS)
        StorageFeeFactor: 1000
      ExecutionFeeFactor: 1
neoxp policy get -r https://mainnet1.neo.coz.io
             GasPerBlock: 500000000 (5 GAS)
    MinimumDeploymentFee: 1000000000 (10 GAS)
CandidateRegistrationFee: 100000000000 (1000 GAS)
        OracleRequestFee: 10000000 (0.1 GAS)
       NetworkFeePerByte: 100 (0.000001 GAS)
        StorageFeeFactor: 10000
      ExecutionFeeFactor: 3

Shouldn't both networks have the same parameters? @roman-khimov I remember you saying something about this but I can't find where.

It's a new proposal made by council on testnet to reduce fees. We're testing on it.

from neo.

lingyido avatar lingyido commented on July 1, 2024

FYI. My C# testnet node 3.7.4 with only leveldb plugin installed works and syncs well.

from neo.

lingyido avatar lingyido commented on July 1, 2024

LOL. You're doing bad experiments. AoAaBgABLAESwB8MBG1haW4MFFMo9Cc1/EJCiUOG1Ow0/ZfStZoXQWJ9W1I= script cost me 5 minutes and 16_68745493 datoshi on my PC.

from neo.

dusmart avatar dusmart commented on July 1, 2024

I suggest that some seed nodes and explorer nodes on testnet to uninstall unnecessary modules.

IIRC, testnet's GAS fee factor is 1/3 compared to mainnet now, which means that the script could cost only ~50 GAS on mainnet. It's a failed experiments. @lingyido

from neo.

lock9 avatar lock9 commented on July 1, 2024

@dusmart The fees are different, but I'm not sure if they should:

neoxp policy get -r https://testnet1.neo.coz.io
             GasPerBlock: 500000000 (5 GAS)
    MinimumDeploymentFee: 1000000000 (10 GAS)
CandidateRegistrationFee: 100000000000 (1000 GAS)
        OracleRequestFee: 10000000 (0.1 GAS)
       NetworkFeePerByte: 20 (0.0000002 GAS)
        StorageFeeFactor: 1000
      ExecutionFeeFactor: 1
neoxp policy get -r https://mainnet1.neo.coz.io
             GasPerBlock: 500000000 (5 GAS)
    MinimumDeploymentFee: 1000000000 (10 GAS)
CandidateRegistrationFee: 100000000000 (1000 GAS)
        OracleRequestFee: 10000000 (0.1 GAS)
       NetworkFeePerByte: 100 (0.000001 GAS)
        StorageFeeFactor: 10000
      ExecutionFeeFactor: 3

Shouldn't both networks have the same parameters? @roman-khimov I remember you saying something about this but I can't find where.

from neo.

roman-khimov avatar roman-khimov commented on July 1, 2024

I suggest that some seed nodes and explorer nodes on testnet to uninstall unnecessary modules.

Likely it's not even possible for explorer nodes (they need application logs and RPC). And I always expect seed nodes to have almost all plugins.

AoAaBgABLAESwB8MBG1haW4MFFMo9Cc1/EJCiUOG1Ow0/ZfStZoXQWJ9W1I= script cost me 5 minutes

$ time curl -sd '{ "jsonrpc": "2.0", "id": 5, "method": "invokescript", "params": ["AoAaBgABLAESwB8MBG1haW4MFFMo9Cc1/EJCiUOG1Ow0/ZfStZoXQWJ9W1I="] }' https://rpc.t5.n3.nspcc.ru:20331 >/dev/null

real    0m2,814s
user    0m0,058s
sys     0m0,052s

Shouldn't both networks have the same parameters?

I guess testnet was updated with newer proposed parameters some time ago.

from neo.

dusmart avatar dusmart commented on July 1, 2024

Likely it's not even possible for explorer nodes (they need application logs and RPC).

Then they're the necessary part. I mean to uninstall those unnecessary one.

And I always expect seed nodes to have almost all plugins.

Then one buggy plugin could cause such a damage. 2/3 of the explorer stopped syncing now and a lot of wallet with default rpc settings stopped now.

I suppose that maybe letting 1/5 install 1/5 part unnecessary plugins and other 1/5 install others is better.

$ time curl -sd '{ "jsonrpc": "2.0", "id": 5, "method": "invokescript", "params": ["AoAaBgABLAESwB8MBG1haW4MFFMo9Cc1/EJCiUOG1Ow0/ZfStZoXQWJ9W1I="] }' https://rpc.t5.n3.nspcc.ru:20331 >/dev/null

Your node is so fast. Have you compare that if the result is same between C# and golang? It seems that two type of nodes cost different amount of GAS.

from neo.

dusmart avatar dusmart commented on July 1, 2024

LOL. You're doing bad experiments. AoAaBgABLAESwB8MBG1haW4MFFMo9Cc1/EJCiUOG1Ow0/ZfStZoXQWJ9W1I= script cost me 5 minutes and 16_68745493 datoshi on my PC.

@lingyido here comes the bad one #3300

from neo.

roman-khimov avatar roman-khimov commented on July 1, 2024

Then one buggy plugin could cause such a damage

Sure. But who needs a node without plugins? CNs? There are a few of those. Everyone else needs at least RPC and application logs, otherwise it's a useless node that can't be used for dApp development. So if you have a problem in any of those plugins it's exactly that for users --- "broken node, please fix it". No one cares if it's a plugin, it's an essential thing for most users.

from neo.

dusmart avatar dusmart commented on July 1, 2024

But who needs a node without plugins?

We have multiple seed nodes. Each can have a set of unnecessary plugins. Users can use different functions from different nodes. At least, let some of the seed nodes live when an unimportant plugin breaks.

from neo.

dusmart avatar dusmart commented on July 1, 2024

"broken node, please fix it". No one cares if it's a plugin, it's an essential thing for most users.

Yeap. When some plugins breaks, if we could let the wallets and explorers works as usual, it would be better. We surely need to fix any official plugins. But it's not necessary to break so many tools. I have to express my appreciation to onegate here. They didn't stuck at all at this time.

I'm not sure how onegate managed to survive when the ApplicationLog plugins break. But it shows that ApplicationLog is not as important as the core node itself.

from neo.

lingyido avatar lingyido commented on July 1, 2024

This is a reason why I only install leveldb and my own plugins. And my node worked well, by the way. You can try your own node like me.

from neo.

Jim8y avatar Jim8y commented on July 1, 2024

"broken node, please fix it". No one cares if it's a plugin, it's an essential thing for most users.

Yeap. When some plugins breaks, if we could let the wallets and explorers works as usual, it would be better. We surely need to fix any official plugins. But it's not necessary to break so many tools. I have to express my appreciation to onegate here. They didn't stuck at all at this time.
I'm not sure how onegate managed to survive when the ApplicationLog plugins break. But it shows that ApplicationLog is not as important as the core node itself.

i am working to run each plugin in seperate process.

Easier and efficient solution now available here #3309. Seperate process will take longer.

from neo.

Related Issues (20)

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.