Skip to main content

Questions tagged [blocks]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
13 votes
4 answers
2k 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, ...
cookiekid's user avatar
  • 528
11 votes
2 answers
1k 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?
Someguy123's user avatar
9 votes
1 answer
1k 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 ...
Charles Ju's user avatar
8 votes
2 answers
1k 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?
Lau's user avatar
  • 203
6 votes
1 answer
1k views

What is EOSIO max block size?

What is the EOS.IO software maximum block size? Does it even have such constant limit?
Lior Halfon's user avatar
5 votes
2 answers
176 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 ...
wanheda's user avatar
  • 303
5 votes
1 answer
236 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 ...
John Haager's user avatar
  • 1,844
4 votes
2 answers
3k 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).
Wayne's user avatar
  • 241
4 votes
1 answer
1k 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. ...
singed's user avatar
  • 51
4 votes
1 answer
79 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?
Phillip Hamnett - EOS42's user avatar
3 votes
1 answer
139 views

Why does eos produce continuous blocks?

I am wondering about permanently producing blocks. Can someone explain why we need this ?
fuat's user avatar
  • 191
3 votes
2 answers
444 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?
Ivan Yakimov's user avatar
3 votes
1 answer
308 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 ...
Marcel's user avatar
  • 383
2 votes
2 answers
211 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 ...
confused00's user avatar
  • 5,554
2 votes
1 answer
686 views

What does it mean that block is irreversible

I mean there are block producers and there are currently just 21 TRUSTED ones. Why do we need to wait for 15/21 to fully "confirm" transaction? Because that means sometimes almost 3-4 minutes. ...
0x49D1's user avatar
  • 141
2 votes
1 answer
747 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 ...
Fu Song's user avatar
  • 35
2 votes
1 answer
143 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 ...
user avatar
1 vote
1 answer
634 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?
Jimmy Guo's user avatar
  • 1,066
1 vote
1 answer
21 views

What factors are also important for block producer to be elected despite votes?

I'm seeing block producers that are trying to obtain votes as much as they can. I see China in the list more as block producer which made me ask maybe there are other factors helping for election, ...
Mehdi Raash's user avatar
1 vote
2 answers
147 views

How to get Block Number

Which is the accurate method to get the block number to which a transaction is written after executing a transaction? The response of push_transaction API is not accurate Can anyone help me with this?
Muhzin's user avatar
  • 510
1 vote
1 answer
69 views

What are the permissions on the eosio.prods accounts used for

eosio.prods has the following permissions (see https://eosauthority.com/account/eosio.prods#keys): 15/21 active (controls the eosio account) 11/21 prod.major 8/21 prod.minor these are updated at ...
theblockstalk's user avatar
1 vote
1 answer
77 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 ...
Thomas55777's user avatar
1 vote
1 answer
89 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?
kkurian's user avatar
  • 695
1 vote
1 answer
489 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 ?
Marcel's user avatar
  • 383
1 vote
1 answer
70 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 ...
singed's user avatar
  • 51
1 vote
1 answer
45 views

I want to store additional data on the "submit_transaction" using transact on the api object

I am new to the eosio platform. My goal is to store additional data onto the testnet.eos.io and receive a transaction_id which I managed to do. However on searching my transaction_id I see my ...
Tanzim's user avatar
  • 11
1 vote
1 answer
204 views

What does the EOS block id consist of and can you predict the id

What does the EOS block id consist of and can you predict the id of the blocks that will come out in the future? After looking at the EOS block id, there were certain rules up to the first 7 digits, ...
eeeekk's user avatar
  • 11
1 vote
1 answer
333 views

How to start sync EOS with mainnet?

looks like EOS is not syncing? I can only see operators in log file and that's basically it. I am starting with these params: nodeos -e -p eosio \ --genesis-json='genesis.json' \ --plugin eosio::...
pr0logas's user avatar
  • 113
1 vote
0 answers
75 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{"...
Nirdesh Kumar's user avatar
1 vote
0 answers
101 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 ...
Ariel Scarpinelli's user avatar
0 votes
1 answer
34 views

Why does eos block hash id not include character like "ghijklmnopqistuvwxyz"?

I fetched all the hashid of blocks from mainnet (block num 92077797~92150300) I noticed that the block id have no any characters like "ghijklmnopqistuvwxyz" Here is the test result with command for i ...
Harry Ma's user avatar
  • 555
0 votes
2 answers
185 views

How to find the number of the first block after a specific moment (unix time)?

I would like to query a range of blocks on the EOSIO mainnet which were created during a specific time span (for example, from unix time 1555500000 to 1555600000, which is around April 17-18, 2019). ...
Gassa's user avatar
  • 598
0 votes
1 answer
21 views

Cannot find genesis block in mongodb

I am trying running nodeos with Mongo Db Plugin. Following is my nodeos: nodeos \ --signature-provider Pubkey=KEY:PrivKey\ --plugin eosio::producer_plugin \ --plugin eosio::producer_api_plugin \ --...
Varsh's user avatar
  • 307
0 votes
2 answers
57 views

fork database head (17411000) is inconsistent with state (12367000) Nodeos Error

I have a private multi-node blockchain. Because of Nodeos failure, it stops with the dirty flag error. I restart it with the --hard-replay-blockchain, the blocks start replaying. Here, by mistake, I ...
Varsh's user avatar
  • 307
0 votes
1 answer
134 views

How to get the Block Irreversible status?

I can get the irreversible status of the transaction because transaction information has both last_irreversible_block and block_num to know the status. But how to get this information for Block? ...
Varsh's user avatar
  • 307
0 votes
1 answer
58 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!
user avatar
0 votes
1 answer
59 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, ...
user avatar
0 votes
1 answer
51 views

How are block hashes generated

I was wondering how the future block hashes are generated. Is this fully random or could this be influenced by someone?
Jesse Vlietveld's user avatar
0 votes
1 answer
86 views

Are all actions on a transaction supposed to be included in the block?

I've noticed something strange that is confusing me. I have a transaction that includes multiple actions on it, but it appears that the "transfer" action did not get recorded in the actual block. You ...
Deezy's user avatar
  • 1