Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [protocol]

The tag has no usage guidance.

0
votes
0answers
19 views

How to register a service for go-ethereum node?

I checked go-ethereum code and I see this piece of code // Service is an individual protocol that can be registered into a node. // // Notes: // // • Service life-cycle management is delegated to the ...
2
votes
0answers
36 views

Why account creation using CALL or SUICIDE costs 25000 gas? [duplicate]

CALL and SUICIDE both have additional cost of 25000 gas if it leads to account creation. At the same time, sending 1 wei in separate transaction costs only 21000 gas. Thereby if I am about to create ...
1
vote
1answer
24 views

The difference between web3.version.network and web3.version.ethereum

The return values of the commands web3.version.network and web3.version.ethereum are: web3.version.network = "The network protocol version" web3.version.ethereum = "The etherum protocol version." ...
0
votes
0answers
20 views

Delay on receiving block by peered node

Sometimes it takes an around of 25ms to import new block by the other peered node after mined by miner. But sometimes it increases directly around 400ms to import block by peered node after mined by ...
1
vote
0answers
26 views

IPFS Protocol upgrade or migrations

How would I migrate from IPFS, let says that I got 10M files linked by IPFS, and I want to migrate all of them to Swarm, how would I do that? The question in a different way: I want to use a new ...
1
vote
0answers
42 views

Port requirements for a Light-Node?

For a light client (geth --light or parity --light) running the light client protocol what are the port requirements? Incoming: Does a light client expose a port where he accepts incoming ...
1
vote
2answers
162 views

what is the protocol used in commuinication between ethereum blockchain nodes?

Let's say that we have many blockchain nodes managed by parity clients. what is the protocol used in communication between those nodes?
3
votes
1answer
133 views

DEVp2p Wire Protocol tutorial on geth or Web3.js/Web3.py

I was looking to develop an application using ÐΞVp2p Wire Protocol and I'm having trouble finding an example or tutorial. I was able to find only ÐΞVp2p Wire Protocol's wiki. [Q] Does anybody has a ...
0
votes
1answer
69 views

Will Casper be “backwards compatible” with currently issued tokens such as ERC20 tokens?

With Casper now available for testing, does the protocol work with regular ERC20 tokens? For example if Casper becomes the main protocol for the whole Ethereum network and the old PoW method is gone,...
2
votes
1answer
117 views

Reference book on Ethereum?

When we search "Ethereum" keyword in Google or Amazom, we find a lot of books on this topic. I bought some kindle books, however they mostly talk about basic topics that are usually repeated in most ...
0
votes
1answer
54 views

Every Solidity code is necessarily called Smart Contract?

Is it correct to say that even a Solidity code that doesn't contain any financial transactions to exchange digital assets or tokens and it only stores some information on the blockchain is a Smart ...
2
votes
1answer
549 views

Smart Contract vs. Dapp?

Can we say following proposition is correct? "every Smart Contract is a Dapp, but a Dapp may not be a Smart Contract."
0
votes
1answer
194 views

What is the difference between a protocol and a blockchain? [closed]

Publica https://publica.com/ claims to be a protocol that is built on the Ethereum blockchain, what does this mean on a technical level? Will Gas be utilized to execute smart contracts on Publica ...
1
vote
0answers
73 views

How does one connect to a blockchain? (technical)

Maybe this was asked sometimes, but I wasn't able to find an answer. I want to ask how does one connect to a blockchain in general - not the configuration part how to download it, but from the ...
3
votes
2answers
141 views

devp2p protocol: support for data compression?

I am just wondering if the devp2p protocol, which is used for node to node communication, has support for data compression? I am asking this, because it could be useful for faster block propagation ...
10
votes
1answer
3k views

What is eWASM and why is it the direction for the next version of the EVM?

eWASM was first proposed in EIP 48 with performance advantages over the EVM. Are there other advantages since the EIP was written in 2015? The initial benchmarks are also gone and are there any ...
1
vote
1answer
54 views

Is it possible to send a standard transaction with a gas limit < 21,000?

I've noticed that Parity and Geth will return the following error when sending a standard transaction with less than 21,000 gas: "Transaction gas is too low. There is not enough gas to cover minimal ...
1
vote
1answer
40 views

Reference a long-forgoten account

In the Etherem Blog Vitalik says: "but we do not store history older than 5000 blocks.". 1) Is it to be understood that the state Trie does not contain the state of accounts which were not in use ...
0
votes
1answer
499 views

RPC authentication in Ethereum?

As far as I understand Ethereum uses JSON-RPC to communicate between clients. What is the authentication mechanism? That is, how does the network know that the RPC request is coming from a legit ...
1
vote
1answer
25 views

What would happen if someone tried to use Ethereum with a modified version of the client?

Let's say that I try to use Ethereum with a modified version of the client which does not follow all the rules of the protocol. What stops my client from being able to damage the Ethereum network?
0
votes
1answer
35 views

Call a smart contract from the protocol level

I am wondering if it is possible to call a function of a smart contract every time a block is mined, perhaps as part of the coinbase transaction? The result of the call would be to send a percentage ...
1
vote
2answers
284 views

Verifying a transaction root by hand

Suppose I have a very simple block with one transaction whose hash is: 0xce70a6b3ae683183e9c4d7c5a22ed5e2cf1f82a38fa67acaa24124b42b258b4a And when I run eth.getBlock I get the following transaction ...
1
vote
0answers
39 views

Overview of “Call collect” EIP-86

I read here that EIP-86 can allow transactions to be paid for by a contract being called. I understand how child-pays-for-parent works in Bitcoin, but EIP-86 does not appear to work at all in the same ...
9
votes
1answer
1k views

Are there any other “smart contract standards” like ERC20?

QUESTION: I know that ERC20 is a token standard which means there are a set of functions that a contract has to include to be ERC20 compatible. I find this a clever approach and was wondering if ...
3
votes
2answers
148 views

How do upgrades at Ethereum work?

How to make an upgrade, e.g. Metropolis, Casper etc, at Ethereum? I mean, if someone proposes an upgrade to Ethereum network, how can it be made concrete?
0
votes
1answer
290 views

Does RLP specify integer encoding?

The RLP specification says the following about integers: The only purpose of RLP is to encode structure; encoding specific atomic data types (eg. strings, ints, floats) is left up to higher-order ...
3
votes
0answers
32 views

DEVP2P character encoding - please clarify 'ASCII'

Please can someone clarify if DEVP2P wire protocol specifies byte-sized 7 bit encoding when it refers to 'ASCII'? i.e. 3 bytes
1
vote
1answer
111 views

“abuse” contract initialization explanation

I've found this item on the Subtleties page https://github.com/ethereum/wiki/wiki/Subtleties: If contract initialization returns an empty array, then no contract will be created. This allows you to ...
1
vote
1answer
197 views

Where should the LES (light ethereum subprotocol) capability be sent and what is it's id?

Is the LES subprotocol a wire protocol like (ETH, SHH) or is it an ETH subprotocol? If it is an ETH subprotocol, it is not mentioned in https://github.com/ethereum/wiki/wiki/Ethereum-Wire-Protocol ...
1
vote
0answers
328 views

Stratum mining.notify help

So, I was working on my own mining client which it works on some ubiq pools, now im trying to make it work with Ethereum on ethermine.org pool which uses stratum, how do I handle the data recieved on ...
1
vote
1answer
524 views

How ethereum nodes sync with each other?

Ethereum network is essentially a distributed replicated database where each node is a replica and a "master" one. What happens when user submits a new transaction? It is submitted to some "pending ...
2
votes
0answers
691 views

Difference between a Protocol Token and a Dapp Token?

I've seen tokens referred to as "protocol tokens" and "dapp tokens", as far as I can tell they are on in the same. Maybe a protocol token is simply a dapp token with a published ABI? There's even ...
2
votes
0answers
31 views

Can I arrange for refunded gas to go to the recipient instead of the sender?

I've sent some small test transactions around and noticed that, unless gas is precisely calculated, if you try to send everything in one address to another, the spare gas ends up in the sender's ...
9
votes
1answer
1k views

Why was RLP chosen as the low level protocol encoding algorithm?

Is this an ad-hoc decision? Why RLP? Is it specifically suited to something?
2
votes
1answer
328 views

Where is the ethereum network implementation?

I am new to ethereum and have been reading about all the new things in ethereum with respect to bitcoin's blockchain. I have read about the GHOST protocol for using secondary blockchains instead of ...
5
votes
1answer
253 views

How to get UTXO set using JSON API?

My blockchain development background is in Bitcoin, but it now seems to me that the most dynamic and interesting blockchain platform is Ethereum. In my quest to grok the Ethereum protocol I'm ...
4
votes
1answer
678 views

What are the changes that will be included in the Metropolis/Byzantium network upgrade?

I see a number of EIPS are listed as Accepted Changes, but it is not clear if all the changes are for Metropolis/Byzantium, nor if all Metropolis/Byzantium changes are there.
0
votes
1answer
72 views

What is a summary of the token standard debate?

I've been seeing some talks about replacing ERC20 with a better standard. I think I'm slightly out of the loop, though. What is, in summary, the limitations and/or issues with ERC20? How will the ...
2
votes
0answers
3k views

Does Ethereum has halving or anything equivalent?

Bitcoin has a halving which will likely happen around June 2020. Is there anything similar for Ethereum? If not, why?
3
votes
0answers
31 views

Is there any way to generate cheap proofs of Ethereum's state?

A contract on the Ethereum network can interact with other contracts within it without requiring any proof, because the system itself defines methods for cross-contract communication (SEND, CALL). ...
8
votes
2answers
967 views

Are Transactions originating from one account mined in nonce order?

Discussion in another thread raises an interesting point. how many transactions could be included in a new block from the same account? Since miners can opt to omit a known transaction from the ...
7
votes
3answers
876 views

How can I verify a secp256r1 signature using solidity

Sorry if you find these questions are basic, but I am new to encryption. As far as I know, Solidity have ecrecover function for this purpose, but it use secp256k1 signature. which I am intend to use ...
6
votes
1answer
932 views

What underlying protocols are used to send packets between nodes, and how are messages encrypted?

In Ethereum, when we make transactions, which underlying protocol is used to send the packages over the network? And another question, are those messages are encrypted or not? TCP, UDP, others? All? ...
8
votes
1answer
124 views

Can the Ethereum ecosystem exist without the DNS and HTTP protocols?

I understand that DNS/HTTP is needed right now to serve the Dapps through human-readable names (e.g., mkr.market), but very soon it seems like this will be possible with a combination of ENS and Swarm ...
3
votes
0answers
179 views

Simple hello packet

I am trying to generate a simple hello packet for handshaking with a remote Ethereum client using the encode method from the rlp library. from rlp import encode hello = bytearray(encode([0x00, 4, "...
14
votes
1answer
607 views

Why were empty accounts allowed to be on the blockchain?

It's hard to see what the benefits of allowing empty accounts to be on the blockchain are. This was a known subtlety (see "note: there is a difference between zero-balance and nonexistent") and ...
10
votes
1answer
5k views

What does “ERC” stand for?

As seen as a label for EIPs (Ethereum Improvement Proposals): https://github.com/ethereum/EIPs/labels/ERC
3
votes
1answer
574 views

Where can I find documentation/specification for mining pool communication?

I am looking for documentation or specification of communication/protocol between client and pool. Is there some or do I have to dig into source code of geth? (Yes, I know about the RPC documentation,...
7
votes
1answer
283 views

Can you (as a node) manually choose what block to bet on in Casper?

Ethereum plans to move to the Casper proof of stake algorithm in a future version of the network. However, as nodes are betting on which block will be produced next, does that mean (as a node) you can ...
8
votes
1answer
379 views

Does more ether = more voting power in Casper?

Ethereum plans to move to the Casper proof of stake algorithm in a future version of the network. However, as nodes are betting on which block will be produced next, does that mean the more ether you ...