Questions tagged [protocol]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

Is QTUM is a coin or a Token?

According to Etherscan Qtum is a Token, holding supply with verified smart contract. But its official site contains its own protocol and integration mechanism. Is it still a token under ETH or it has ...
4
votes
1answer
202 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 ...
1
vote
2answers
48 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
1answer
27 views

Fetching block template from node

The most famous opensource pool uses eth_getBlockByNumber method with parameter "pending" to get block template and generate jobs from it. But now, in parity, I found that this parameter is deprecated ...
2
votes
1answer
78 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
11 views

Can anybody help me with protocol development?

I have seen a lot of resources for dApp development but I don't know how to start learning more about protocol development. I have read whitepapers, some articles and started reading go-ethereum's ...
0
votes
0answers
11 views

Dai [DAI] stablecoin Consensus Mechanism?

What is the Protocol (name of the Blockchain Protocol) of Dai [DAI] stablecoin and what is its Consensus Mechanism?
1
vote
1answer
33 views

Are block timestamps decentralized?

One thing I don't understand about the Ethereum protocol is how timestamps work. If I, as miner, have a reason to fiddle with timestamps (such as adding a few minutes to decrease the mining difficulty)...
0
votes
1answer
43 views

Calculating a total Raiden transactions' gas cost

The Raiden network, which is a off-chain layer 2 implementation based on ethereum has no transaction costs, see link under transaction fees here. The transaction fees are not a factor in gas cost for ...
2
votes
2answers
737 views

About contract kill and forensic investigation

Let’s say that I created a contract and, using that, I and other people, made many transactions which meaning is undoubtably proven reading the contract. At a certain point someone kills the contract ...
8
votes
2answers
2k views

Why do smart contract languages need to be deterministic?

I read somewhere that smart contract languages need to be deterministic. Why?
8
votes
4answers
1k 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 ...
3
votes
2answers
185 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
0answers
22 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
53 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
0answers
33 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 ...
2
votes
1answer
161 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 ...
1
vote
0answers
37 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 ...
2
votes
2answers
407 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
78 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 ...
2
votes
2answers
235 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?
0
votes
1answer
826 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 ...
12
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
94 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,...
0
votes
1answer
72 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
744 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
247 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
83 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
195 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 ...
1
vote
1answer
67 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
42 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 ...
6
votes
1answer
1k 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? ...
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?
1
vote
0answers
49 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 ...
8
votes
2answers
1k 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 ...
0
votes
1answer
415 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 ...
1
vote
1answer
172 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 ...
3
votes
0answers
34 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
258 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
377 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
683 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 ...
3
votes
1answer
681 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.
2
votes
0answers
715 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
1answer
341 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 ...
2
votes
0answers
32 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
2k 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?
4
votes
1answer
300 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 ...
0
votes
1answer
74 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?