Comments (14)
"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.
@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.
FYI. My C# testnet node 3.7.4 with only leveldb plugin installed works and syncs well.
from neo.
LOL. You're doing bad experiments. AoAaBgABLAESwB8MBG1haW4MFFMo9Cc1/EJCiUOG1Ow0/ZfStZoXQWJ9W1I=
script cost me 5 minutes and 16_68745493 datoshi on my PC.
from neo.
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.
@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.
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.
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.
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.
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.
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.
"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.
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.
"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 thatApplicationLog
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)
- Fix `NeoSystem` Dispose HOT 2
- Implement Rollback Mechanism for Neo Node to Sync Plugin Information HOT 13
- Fix coverall problem introduced recently HOT 1
- Error building Neo.CLI HOT 1
- Create Tests with CI / ACTION to ensure local build is working HOT 4
- [V3.7.5 Checklist] This is a checklist for version 3.7.5 hotfix HOT 9
- Fix RPC responses for Hash160 types HOT 7
- How to handle [possible] negative VM refcounter HOT 1
- [Neo Core Event] Define Interfaces for Core Event Handlers
- Comments for Tarjan class HOT 2
- Quality of life CLI options --config-file & --ignore-plugin-network HOT 4
- Add Unit Tests for RpcServer Plugin
- dotnet publish doesn't work in plugin's project path HOT 4
- Wrong debug/release path of plugins HOT 3
- RpcServer Unit Tests: Node
- Leveldb crash HOT 13
- version error 1.0.0 HOT 1
- Allow list of AnomalyTransaction types vs Explicit Hardfork HOT 1
- Should native contracts be destroyable? HOT 2
- Work on a DEV branch.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo.