All Questions

-4
votes
0answers
8 views

EOS.IO will implement the most complicated hard fork upgrade in history

What does the popularity of hard forks mean? Author: Cyborg of EOSForce Foreword EOS.IO development team Block.one released the EOSIO version of 1.8.0-rc2 on May 15, 2019. It is the most important ...
0
votes
0answers
6 views

How can I got transactoin receipt using transaction id in EOSJS or RPC method

I want to get transaction by its hash using eosjs or rpc method
0
votes
1answer
7 views

in contract vector no find function?and how to efficiently find big data in vector?

only like this find data,hvae big data in vector? std::vector<uint32_t> rules; for (auto iter = rules.begin(); iter != rules.end(); ++iter) {}
1
vote
0answers
5 views

What is the file structure and directories of where CLEOS saves its data and user data for Ubuntu?

I am running Ubuntu 18.04 and was wondering where does cleos store its data? And where are user's wallet data stored when importing or creating a new eos wallet?
1
vote
0answers
11 views

How to get a contract to accept tokens as payment

I keep getting the following error: transaction declares authority '{"actor":"test2","permission":"active"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [...
0
votes
1answer
16 views

EOS Block Producer Claim Reward

I have followed Bios boot sequence tutorial from eosio and setup a private eos blockchain. The problem is the block producers i have created , when i tried to claim reward it shows "cannot claim ...
0
votes
1answer
9 views

Is there any need of holding EOS tokens by Dapp users?

Do the events (whatever actions done by users) from Dapp are considered as Transactions? If so, is there any need for the users of Dapp to hold EOS tokens? How these transactions are reached to Block ...
0
votes
1answer
12 views

Difference between EOS transaction “traces” and “trx”

I use RPC to retrieve transaction information - e.g: { "id": "84373c7756f0ad09972cd839c4b862328aa96b40ea52b3e91633acf583dffe44", "trx": { "receipt": { "status": "executed", "...
0
votes
0answers
6 views

Is there a way to issue tokens infinitely?

I want to design a system where token supply can grow infinitely. Is it possible not to fix total supply at the token creation moment?
0
votes
0answers
6 views

EOS token payment gateway

I was trying to create an API which integrates with nodeos on my server, rpc calls can be made by the web api for the purpose of a payment gateway for eos . My question is how to integrate an API with ...
0
votes
0answers
7 views

What is the actual ground level thing happening on the process of block production?

After validating a block by validators, what is the actual thing that happens to recognize that block is validated by at least ([2/3]+1)th of the block producers?
0
votes
1answer
40 views

Transfer tokens inside a smart contract from an account to another account

I need to write a simple function that would send tokens using a different account action. Exactly the same situation as in these questions: one and two But I have to use not eosio.token contract but ...
1
vote
1answer
15 views

Defining symbols for a contract at compile time - how?

supposing I have a contract declaration in file t.cpp as follows: class [[eosio::contract("__CONTRACT__")]] token : public contract { I would expect to be able to compile it like this: $ eosio-cpp -...
0
votes
1answer
21 views

What are the main differences from PEOS and Monero?

What are the main differences from PEOS and Monero? What does PEOS have that monero doesn't and vice versa? Will PEOS have fees and will operate on its own blockchain or on top of EOS?
0
votes
1answer
23 views

What does FC_REFLECT do?

In most of the system contracts of EOSIO, I found FC_REFLECT function repeatedly used. What does this function actually do? I wonder if any of you can tell the answer for this. Thanks in advance.
1
vote
1answer
19 views

What exactly the merkle function is returning?

In the below file, https://github.com/EOSIO/eos/blob/v1.7.4/libraries/chain/merkle.cpp, what do ids.front() mean?; what exactly this function Merkle is returning? Could you please explain what this ...
0
votes
0answers
23 views

What is the inflation schedule for EOS private blockchain?

I have followed the bios boot sequence https://developers.eos.io/eosio-nodeos/docs/bios-boot-sequence to create private EOS blockchain. Now everything has been done but there are some point I want to ...
-2
votes
0answers
7 views

What does pack, unpack, to_variant, from_variant functions do in EOS implementation code?

I have been trying to understand the EOS implementation code of the latest version therein https://github.com/EOSIO/eos/tree/v1.7.4/ I am always struck when I see functions like pack, unpack, ...
0
votes
1answer
13 views

Create account in EOS using RPC method or npm package [duplicate]

I wants to create account in EOS using RPC method or Npm package.As per review dev doc of EOS not found any methods for it. I am implementing this in nodejs. Kindly guide for it, how can i process ...
0
votes
1answer
12 views

Where are lower_bound and upper_bound on get_table_row on nodeos 1.6+ rpc api?

I noticed that the lower_bound and upper_bound parameters do not exist anymore after the nodeos 1.6 version on the RPC api. https://developers.eos.io/eosio-nodeos/v1.7.0/reference#get_table_rows ...
1
vote
1answer
20 views

How to optimize RAM usage for airdrop

I want to conduct airdrop for all eos holders. Taking into consideration that the airdrop for one account will use around 0,2 KiB I have to shell out around 250K KiB of RAM without CPU and Net which ...
0
votes
0answers
16 views

How to encode account name (to get uint64) using eosjs2?

I'm migrating from @scatterjs/eosjs eosjs@16.0.9 to @scatterjs/eosjs2 eosjs@20.0.0. using eosjs I had the following solution: Eos.modules.format.encodeName(name, false) using eosjs2 I found the ...
0
votes
1answer
23 views

How to parse action data?

Issue on github: https://github.com/EOSIO/history-tools/issues/17 I have hex of action data. How can I understand what happened in this action? (For example: How many tokens are transferred) ...
2
votes
1answer
36 views

What is the meaning of “scope” in a Smart Contract?

Since I have read the tutorial. I don't understanding the following: Note that scopes are used to logically separate tables within a multi-index (see the eosio.token contract multi-index for an ...
1
vote
1answer
18 views

What is the source code of implementation of EOS Blockchain latest version?

Please provide the link for the latest version of EOS blockchain source code. We are trying to implement concurrency in EOS Blockchain. But for that, we need to analyze the whole code and we should ...
1
vote
1answer
20 views

How transactions are broadcasted to Block Producers?

When a transaction is initiated and send by a user, how are these transactions broadcasted to Block Producers?
0
votes
2answers
21 views

Can not find `eosio/eosio.hpp` while compiling with eosio-cpp

I used the documentation provided by EOSI. I made all the required installation as suggested in the docs. While writing the hello world contract, I face this issue when running the following command ...
0
votes
1answer
21 views

How to programmatically send tokens using EOSJS safely?

According to the EOSJS readme: Using the JsSignatureProvider in the browser is not secure and should only be used for development purposes. Use a secure vault outside of the context of the ...
-1
votes
1answer
38 views

Transaction requires authority, but does not have signatures for it

I am trying to send tokens from one account to another using eosjs & reactjs with the standard eosio.token contract but I have issues with the authority. Can someone please explain the meaning of ...
2
votes
0answers
32 views

How to debug eosio::on_notify(“eosio.token::transfer”) actions?

I'm working on a contract that will run an action when receiving tokens. The following code does not run when the account receives EOS or JUNGLE tokens on the Jungle Testnet. #include "./test.hpp" .....
0
votes
1answer
12 views

How does block validators communicate each other?

In the process of validating a block by block producers(at least 15 block producers should validate and agree – knowledge taken by technical paper). How can they communicate with each other that they ...
0
votes
0answers
16 views

How can token holders keep track of block producers?

How can stakeholders check whether a block producer is producing malicious blocks or not? How can stakeholders keep track of what block producers are exactly doing?
1
vote
1answer
9 views

Is it possible to change order of transactions in block and send them to validators individually?

After a block producer executes the transactions and form a block, in the process of broadcasting it to the network for validation by validators(remaining 20 block producers), is it possible to make ...
1
vote
1answer
21 views

Is it possible to produce more than a block for a block producer at the same scheduled time?

Generally, we know that block producers follow some order to produce blocks and each block producer is scheduled to produce a block in the given scheduled time. Say, 1st – Block_Producer-A 2nd – ...
0
votes
0answers
16 views

How to implement cold wallet signing in EOS with a long transaction timeout

I'm building a cold wallet with some built in delay (say, 2 hours) between when the transaction is created, and when the transaction gets broadcasted. From reading the source code I see that the ...
0
votes
1answer
30 views

How is dpos_proposed_irreversible_blocknum aka PLIB computed?

How is dpos_proposed_irreversible_blocknum aka Pre-LIB (Last Irreversible Block) computed? Is it by counting 15 blocks or by counting 15 signatures? For example: In an unfortunate scenario, out of 4 ...
0
votes
0answers
19 views

How to build EOS with “faucet_testnet_plugin”

I need to build and run a Node with enabled faucet_testnet_plugin but while building it throws the following errors: /root/build/eos/plugins/faucet_testnet_plugin/faucet_testnet_plugin.cpp:214:28: ...
0
votes
1answer
25 views

Are the block producers shuffled between rounds in new hybrid DPoS + BFT

Are the block producers shuffled between rounds in the new hybrid DPoS + BFT? Say there are 4 block producers. Assume blocks are produced in the following order: t = 1: A t = 2: B t = 3: C t = 4:...
0
votes
0answers
4 views

How can i get a `packed_txn` with Swift(TokenCore)

i've tried to get a package_txn by abi_json_json_bin but got an error 3010010. And then i learned that package_txn had to be done on local machine. So is there anyway to package a transaction in Swift(...
1
vote
1answer
27 views

How to delete record on EOS if I forget table structure

I issue an EOS token for fun half a year ago and I'm planning to release my EOS ram recently. The problem is that I forget the table structure I made before and I overwrite the contract and there is ...
0
votes
0answers
7 views

What is the api endpoint to query the EOS DNS service to resolve to a domain name?

I'm looking to integrate the EOS DNS service (https://eosdns.io) into my app, but I need to find the api endpoint to pass in an account name to get a domain name returned. What is the api endpoint ...
0
votes
0answers
22 views

How to create composite primary key?

I have a table of prices where I want to store 2 prices per cross defined like this: struct [[eosio::table]] _prices { symbol base; symbol quote; float value = 0.0; uint128_t ...
1
vote
0answers
24 views

How two EOS nodes on two diffrent instances of aws can communicate with each other through an EOS private chain?

I have setup node on each of two aws instance i.e two nodes on diffrent aws instance , thus created a private blockchain on both of the instances . Now how can i make them communicate with each other ...
0
votes
1answer
18 views

Can I use Timers?

I know that there's no timer in other smart contracts and even this is not possible in regular blockchains. But, EOS uses C++, and they already did lots stuffs which makes smart contracts more usable. ...
0
votes
1answer
26 views

EOSLime with Kylin: Account Creation

EOSLime does not seem to be able to create accounts with Kylin chain thru my method. It produces an error that there is insufficient RAM. My method: let default_a = eoslime.Account.load('...','...');...
0
votes
1answer
29 views

Nodeos remembers the old public key

I am following the instructions here: Local Multi-Node Testnet Second time. When I try to start the second node it prints out this error message: "Not producing block because I don't have the ...
1
vote
1answer
10 views

TypeError: f is not a function

I'm trying out the eosjs official documentation, but can't make any RPC calls. This is how I've initialized everything: const { Api, JsonRpc, RpcError } = require('eosjs'); const { fetch } = require('...
0
votes
0answers
22 views

How to return a record found?

suppose I have: struct [[eosio::table]] _test { asset supply; uint64_t primary_key() const { return supply.symbol.code().raw(); } }; typedef eosio::multi_index<name("test"), _test> ...
0
votes
0answers
16 views

EOS Multi-Host(multiple instances on aws) Multi-Node Private Blockchain Setup

How can i setup multi-node eos private blockchain on multiple aws instances being the nodes(voters,delegates) of the private blockchain.I followed the https://developers.eos.io/eosio-nodeos/docs/bios-...
0
votes
1answer
18 views

The symbol does not match

Token transfer between 2 accounts give me this error. token transfer works though if one of the account is the token contract account. how do i fix this? "details": [ { "message": "...

15 30 50 per page