Questions tagged [besu]

Besu Ethereum Client is an Apache 2.0 licensed, MainNet compatible, Ethereum client written in Java with focus on Enterprise Ethereum adoption. Formerly known as Pantheon.

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
20 views

Peers counts by bootnode and non-boot node are different

I just setup a 4 nodes Besu network 21.1.5 on a single Ubuntu 20.04 server. The peer count on boot node is 4. However it is 3 peers on all other non-boot node. Is it right that the peer counts from ...
2
votes
0answers
338 views

Error: Wallet has error: Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.0.17)

After enabling JWT token authentication on besu network, a connectionInfo with JWT token in headers is used to make connection to the network, instead of url. import { ContractFactory, ethers } from &...
1
vote
0answers
24 views

Read smart contract data from blockchain itself

I'm trying to figure out if it's possible to read smart contract data from the blockchain itself. I know in ordinary circumstances, smart contracts sit on top of the chain in the ledger. I'd like to ...
1
vote
0answers
9 views

Highest known block in the peer network - permissioned ethereum network

We are starting to define the best metrics to monitor a permissioned Besu network. One important point to monitor is the block height of a node and from other nodes in order to discover if the node is ...
1
vote
0answers
37 views

Is there any way to configure hyperledger besu to mine blocks only when there are transactions?

I have been following this tutorial: https://besu.hyperledger.org/en/stable/Tutorials/Private-Network/Create-IBFT-Network/ Everything works fine, however I can see that every 2 seconds new block is ...
1
vote
1answer
32 views

How to disable deployment of smart contracts on besu private network?

Is there any way to disable creation of smart contracts on Hyperledger Besu Private Network for addresses except those that I specify? I want to create private network with zero gas fee, but no one ...
1
vote
1answer
50 views

Make Hyperledger Besu sync faster during DOS blocks

I am attempting to sync a full node using Hyperledger Besu and it has slowed down considerably when hitting about block 2,300,000. Geth and Parity can be made faster as this link details to sync these ...
1
vote
0answers
52 views

I could not use web3.js module and perform getAccounts etc. for Consortium networks. Hyperledger Besu

const Web3 = require('web3') //var web3 = new Web3('http://127.0.0.1:8585'); var web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545')); // https://rinkeby.infura.io/v3/...
1
vote
0answers
71 views

Mining stops after some time in my Hyperledger-besu Private blockchain

I have been using Hyperledger-Besu's quickstart guide to build my private blockchain (with ibft2 as consensus algorithm) on an AWS instance, which basically just clones that repo https://github.com/...
0
votes
0answers
8 views

How to mine only on transaction or reduce the disk storage used by HyperLedger Besu IBFT 2.0?

I have been following the tutorial for creating a private IBFT 2.0 network using Hyperledger Besu. The issue is that the blocks are created every 2 seconds and many blocks are created with no ...
0
votes
0answers
9 views

Time to sync a FULL Besu node?

How long does it take now in August 2021 to sync a FULL besu node?
0
votes
0answers
16 views

In a zero gas fee besu networ, when the user make a transfer thru metamask, will there be any gas fee charged?

I deployed a besu network with gasprice:0 in the truffle-config.js file. when the user make a transfer thru metamask, and put in a gas price greater than zero , will there be any gas fee charged?
0
votes
0answers
15 views

where is the ethereum-besu log file getting created

how do I see the logs besu java code write? I see log.{statements} in the code, but cant figure where the log file is getting created
0
votes
0answers
15 views

Apply a specific kind of transaction fee on a no-gas-fee besu network

How can I apply some kind of transaction fees on a no-gas-fee(besu) network. do we need to edit the java code?
0
votes
0answers
41 views

Blacklist and Whitelist of Smart Contracts in Permissioned Ethereum networks

What are the existing solutions to blacklist and whitelist smart contracts in Permissioned Ethereum networks? We are using Hyperledger Besu.
0
votes
1answer
47 views

web3.eth.contracts.myMethod().call() returns nothing

I'm still new to ethereum development, and when trying to execute call() on a created contract, I'm receiving varying results. Sometimes the call works, and other times it returns the error Returned ...
0
votes
0answers
10 views

Can't invoke a method in a public contract from another contract inside a privacy group using web3j

This is the contract that resides in a privacy group: pragma solidity 0.7.4; import "./Coin.sol"; contract PrivateTransfer { Coin coin; constructor(Coin _coin) { coin = ...
0
votes
1answer
115 views

Hyperledger Besu: Unable to decode the hex string returned by solidity function containing multiple values

I have set up a Hyperledger Besu network for private transactions using Orion. I am using a javascript client to write to and read data from a smart contract written in Solidity. I am following the ...
0
votes
0answers
108 views

How to send a transaction to Besu configured as a Free Gas Network

I have downloaded and configured Besu as a Free Gas Network (https://besu.hyperledger.org/en/stable/HowTo/Configure/FreeGas/ ). Creating transaction using Truffle works fine, but not in my application ...
0
votes
0answers
43 views

What does an Ethereum Client do?

I've developed Smart Contracts using Solidity, and then created a front end for them using Web3js. I used Truffle to to get them to communicate. That's how I tried out a couple of Proof of Concepts. I ...
0
votes
1answer
274 views

Unable to deploy contract on Besu network(docker) using dynamic IP

I am stuck with a weird situation. I create a local Ethereum network with Hyperledger Besu in docker environment. I try to deploy contracts to a rpc node using Truffle(different container in same ...
0
votes
1answer
245 views

How to Setup a Private Network in Hyperledger Besu?

I am looking for steps to configure hyperledger besu client for a private network of say 5 nodes.