Questions tagged [blocks]
The blocks tag has no usage guidance.
1
vote
1answer
39 views
How I can understand round-robin in DPOS?
DPoS is a system in which a fixed number of elected entities (called block producers or witnesses) are selected to create blocks in a round-robin order.
If we have a BP 18th suddenly down, which ...
0
votes
1answer
40 views
How is the the crash of a BP handled?
I am wondering if a BP crashes, how do the remaining 20 BPs know this?
If they do not know, all block not irreversible so we can be hack?
Please give me some details for this. Thanks!
0
votes
1answer
32 views
Back up EOS ecosystem
I read some comment on reddit and this page, some people talked, EOS uses 21 BPs as active, and all of rest are standby. So I think EOS will use a server as a gateway to handle this like HAProxy, ...
1
vote
1answer
36 views
Block Meta Data
Is there a way to get block meta data only. For example:
cleos get block 12345
returns all transactions within that block. All I am interested in is the metadata. Is there a way to return ...
1
vote
1answer
77 views
Preferred way to find a transaction's block
With the history plugin deprecated, what's the preferred way to find out which block a transaction is in?
1
vote
0answers
55 views
How can I get all transactions made by an account?
I tried this history api of this function :
func (api *API) GetTransactions(name AccountName) (out *TransactionsResp, err error) {
err = api.call("account_history", "get_transactions", M{"...
4
votes
1answer
41 views
Is it possible to see the state of a multi index table for a given block number?
Does the ability currently exist in EOS to see how the state of a persistent memory table was at some point in the past?
3
votes
2answers
147 views
What is a fork database?
There is a mention of a fork database in the docs for the bnet_plugin. Could you please tell me what the fork database is and how is it related to the state of the nodeos node?
2
votes
1answer
145 views
list of confirmed and unconfirmed transactions of address / account
I wanna show users a list of confirmed and unconfirmed transactions of a specific EOS address or account name, using eosjs. Similar like a Ethereum block explorer.
Any ideas or work arounds?
If ...
1
vote
1answer
266 views
How exactly is the block height defined in EOS?
I wanna show users the confirmation height of their transactions.
Which one is the way to go?
Latest block - transaction block
OR
Last irreversible block - transaction block
?
1
vote
1answer
356 views
Can we get all the actions from all blocks?
Somebody say we can get all the blocks through rpc, then we can get all the actions.
But I found that in the block information, there're no inline actions, so many inline actions will lose, right?
2
votes
2answers
96 views
How can I download all ledger blocks as a JSON dump?
I'm trying to download a relatively up-to-date dataset of all blocks in JSON format, but haven't found a good solution:
cleos can only fetch blocks one by one ($ cleos get block n) which is way too ...
2
votes
1answer
62 views
Why does eos produce continuous blocks?
I am wondering about permanently producing blocks. Can someone explain why we need this ?
2
votes
1answer
444 views
EOS: How to get structured data within transaction?Is there restful API for this/
Suppose A sent a transaction to SC(smart contract), including structured data, for example:
{"intention":"like","target":"ae16xx0...."}
As usual, this transaction will be stored on all nodes in the ...
1
vote
1answer
55 views
Is a transaction(like token transfer) could fail after being sent? if so, how can I get information about it?
In EOSIO, we know that a transaction can be packed in block very fast, and we can also treat it as irreversible after "lastirreversibleblock >= block_num".
Whether a transaction could fail after ...
3
votes
2answers
1k views
How to get current block number in smart contract? [duplicate]
How do I can get the current block number in EOS? (in ethereum, I can use block.number).
5
votes
2answers
598 views
What block hash function and transaction signature method does EOS use?
What hash function does EOS use for creating a block. Is it SHA-256?
In addition, what procedure for signing a transaction is used? RSA?
4
votes
1answer
634 views
how to know if a transaction was include in block?
In bitcoin and ethereum blockchain, I can get transactions's details that not included in blockchain yet via api. but in EOS blockchain ,it seems that there were no such api to get those information.
...
6
votes
1answer
660 views
What is EOSIO max block size?
What is the EOS.IO software maximum block size?
Does it even have such constant limit?
1
vote
0answers
74 views
How to validate a block obtained with /v1/chain/get_block
Lets say that from outside the chain I call /v1/chain/get_block http endpoint.
I would like to be able to post that JSON back to a contract thru a context free action and validate that the block is ...
9
votes
1answer
481 views
Block data structure
Can someone explain the transaction_mroot, action_mroot and block_mroot used in block_header? I understand what a merkel tree is. Is transaction data actually stored in block or just the transaction ...
4
votes
1answer
134 views
How does a node acquire new blocks from the network?
When running a non-producer node on the EOS blockchain, how does the node receive new blocks as they are produced? Are they sent to it from a particular node? Can the software receive blocks from ...
13
votes
4answers
871 views
Can someone explain the transaction struct?
{ expiration: '2018-05-09T10:21:48',
region: 0,
ref_block_num: 1055,
ref_block_prefix: 4035814219,
max_net_usage_words: 0,
max_kcpu_usage: 0,
delay_sec: 0,
What is expiration, ...
4
votes
1answer
102 views
Is the block digest c++ specific?
I'm not sure how to write this block header digest/hash generation in another language then C(++). Is this even possible without a lot of hacking?
If so: Could a language-neutral format for the ...
10
votes
2answers
166 views
How often/consistent are blocks on EOS?
How often are blocks produced on EOS? Are they consistent? In Bitcoin the blocks are only mined on average within 10 minutes, not guaranteed 10 minutes - does EOS differ?