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.

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

How to safely delete old Besu data to free space?

The ubutun server ran out of space and need to delete obsolete data under /database to free room. Here is a list of the output of ls command in /database subdirectory: total 16965588 -rw-r--r-- 1 root ...
1 vote
0 answers
41 views

High block mining time even with low difficulty

We have a private network running on Hyperledger Besu. We are using ethash, and it had a fixed difficulty of 3625. That was producing blocks fairly quickly, averaging about 8-10 seconds, with some as ...
  • 121
1 vote
0 answers
24 views

Oscillating blocktime issue

I have three private blockchain networks: production development QA production and QA both have blockTime of 10 seconds and are behaving as expected. When I read their block timestamps, there is ...
  • 1,819
0 votes
0 answers
16 views

Private network load testing script help

I'm trying to write load/stress testing scripts for a private network. However, in doing so I remembered the nonce is going to be an issue for a basic NodeJS automation script. I'd like to send a ...
  • 121
1 vote
0 answers
42 views

Does Hyperledger Besu limit the amount of data in a transaction?

I need to send transactions to a private PoA Ethereum Blockchain. I know by geth source code it is limited to 128 KB: txMaxSize = 4 * txSlotSize // 128KB -> tx_pool.go file: https://github.com/...
  • 23
1 vote
0 answers
15 views

How to listen only to fresh events on private besu blockchain?

Is it possible to listen only to new events by Besu plugin, and bypass events, that are coming when synchronizing a node to a blockchain? I use Log listener to listen to incoming events.
1 vote
0 answers
26 views

Architectural issues of using smart contracts [closed]

As part of my master's thesis MVP, I am developing a project on the implementation of an accounting system for electronic document management using smart contracts. Now there is a question of ...
1 vote
1 answer
173 views

Hyperledger besu onchain permissioning error

i'm following a tutorial on how to create an onchain permissioning network with hyperledger besu : https://besu.hyperledger.org/en/stable/Tutorials/Permissioning/Getting-Started-Onchain-Permissioning/ ...
2 votes
1 answer
28 views

how to setup hyperledger besu permissioned ethereum blockchain using docker?

Hello blockchain enthusiats, this my very first question on a forum, i'm trying to create a permissioned ethereum blockchain using hyperledger besu, i tried to use docker for that but because i'm not ...
2 votes
1 answer
30 views

Using Hyperledger QBFT suitable for public chains?

I am thing process of creating my own public EVM network, i found the best approach available would be using QBFT on HyperLedger Besu as it is Proof Of Authority and secure for production uses. But ...
  • 21
1 vote
0 answers
28 views

How to increase OPCODE gas Price in Hyperledger Besu

I want to setup Private POA blockchain using hyperledger besu. I dont want people to deploy smart contract on the chain. I searched on google and found it some alternative solution to increase create ...
  • 56
0 votes
2 answers
250 views

Deploy SmartContract to local Hyperledger-Besu network using Brownie

EDIT: In short, I want to use Brownie to deploy smartContracts to HyperLedger-Besu network on my local machine. For some reason, it doesn't work, so I wanted to ask if anyone here had experience with ...
  • 1,819
0 votes
0 answers
66 views

Block propagation delay

I have some doubts related to block propagation time. In a network built with Hyperledger Besu, I have 4 AWS machines, 3 in Paris and 1 more in Oregon. The block propagation times are crazy, like 2 ...
  • 11
1 vote
0 answers
151 views

Block capacity - Hyperledger Besu

Good afternoon, I am trying to perform a transaction capacity test on my network with Hyperledger Besu with 4 validator nodes and a time per block of 4seconds. I have created a script with NodeJS that ...
  • 11
0 votes
0 answers
10 views

description fields on Alethio block explorer

I'm using Alethio block explorer on an IBFT2 based chain I would like to know the meaning of the validators field, will this field have all the addresses of the validators or just the addresses of the ...
0 votes
0 answers
22 views

Consortium networks - safety concerns

After studying the different types of blockchain networks and their advantages in the enterprise space and after opting for permissioned networks to form a consortium, my questions are: What are the ...
  • 11
0 votes
0 answers
83 views

State root mismatch error at mining genesis block

I am working on a private Besu implementation. I made some modifications to the open source package, and when I went to start a new chain instance it gives a state root mismatch error for the genesis ...
  • 121
1 vote
0 answers
21 views

Stable release of Hyperledger Besu won't compile

I cloned a fresh copy of Hyperledger Besu from the GitHub repo and when I opened it in Eclipse, it said that there are 148 errors and that the project won't compile. It also said that there are 108 ...
  • 121
1 vote
1 answer
19 views

How can we filter the incoming transactions to a node to disable smart contract deployments? [duplicate]

How can we identify an incoming transaction that has to address as 0x0 so as to stop it from being mined and broadcasted in Hyperledger Besu? Can anyone tell a way to do it like any configurations to ...
  • 11
0 votes
1 answer
80 views

Cors Issue with Hyper Ledger Private Block chain network on Aws

I am new to hyper ledger and trying to set up a private block chain network with clique as consensus protocol. I am deploying it on a AWS Ec2 Instance. Followed these steps and initiated a boot node ...
  • 11
2 votes
1 answer
240 views

Hyperledger Besu for creating accounts

I am able to setup hyperledger besu for creating private ethereum network(followed the official documents with 3 testing accounts in gnesis file) and able to connect to metamask as well. But its not ...
0 votes
0 answers
566 views

Error: Returned error: The method eth_sendTransaction is not supported. Use eth_sendRawTransaction to send a signed transaction to Besu

I'm using a private network for deploying smart contracts and i want to interact with the deployed contracts that i have. Soo im trying with this smart contract // SPDX-License-Identifier: MIT ...
1 vote
1 answer
67 views

Mining causes nodes to stop syncing on Besu

I am trying to test my private network by running multiple nodes at one time. I am using a config file that lists the boot node as well as the same genesis file. The boot node is on a linux server, ...
  • 121
1 vote
0 answers
74 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 ...
  • 121
0 votes
1 answer
105 views

Is there a way to burn tokens only on transfer (on every transfer)

If a transfer happens from one account to another thru metamask,how do we burn coins per transfer ? can this be done thru a contract? (using besu). Is this change in java code or can be down thru a ...
  • 1
1 vote
0 answers
41 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 ...
0 votes
1 answer
95 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 ...
  • 121
2 votes
0 answers
79 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
0 answers
118 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 ...
  • 191
3 votes
2 answers
204 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 ...
  • 191
2 votes
0 answers
2k 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 &...
0 votes
1 answer
504 views

How to add JWT token in JsonRpcProvider url header when connecting to JWT enabled network?

When connecting to Besu network which enables JWT public key authentication, how to add the token to the JsonRpcProvider (ethers 5.0.8)? Here is the current code (before adding JWT token): let ...
2 votes
1 answer
864 views

How to specify Solidity version in web3j?

I have a simple java maven project whose pom.xml looks like: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" ...
  • 141
1 vote
1 answer
159 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 ...
  • 23
1 vote
1 answer
134 views

Transaction status true when sent to an address which doesn't have anything

When you create a transaction calling a function in a smart contract the transaction status is true if it's executed correctly and false if it isn't When testing in Hyperledger Besu, if a transaction ...
1 vote
1 answer
431 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 ...
2 votes
1 answer
83 views

Load testing Besu + IBFT2?

The context: I have a simple app that that consults historic of events frequently. It works fine on my development machine, with just a few thousands blocks. I am not sure if it will continue to work ...
  • 556
0 votes
0 answers
218 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 ...
  • 168
1 vote
0 answers
201 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/...
0 votes
0 answers
56 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 ...
1 vote
1 answer
197 views

Failed to extract secret from Hashicorp vault production mode - EthSigner - Hashicorp Vault

Working in hashicorp vault dev mode everything works fine but when I use a hashicor vault in production mode I am not able to connect ethsigner. However, i have been checkin if I can extract the ...
  • 95
4 votes
1 answer
163 views

Why is Ethereum licensed under the LGPLv3 license?

Simple question, which I cannot answer myself. Why Ethereum have an LGPLv3 license? Bitcoin has MIT license. Thank you.
  • 141
1 vote
1 answer
423 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 ...
1 vote
0 answers
101 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/...
2 votes
1 answer
373 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.
  • 141
0 votes
1 answer
297 views

Scaling Solutions For Hyperledger Besu? [duplicate]

Plasma is a layer-2 scaling solution but it seems to be not very effective , are there any other ethereum scalability solutions that are efficient and can be applied to enterprise use cases alongside ...
  • 141
3 votes
2 answers
145 views

Does Hyperledger Besu support Plasma?

Does the Besu client support Plasma? I guess this question could also be asked about other clients such as Geth and Parity as well.
4 votes
1 answer
275 views

How to configure the sealer account for a private Clique PoA network in Pantheon

Pantheon is the new Java-based Ethereum node targeting the enterprise setups. I am trying to get my geth clique private network running on pantheon, but since pantheon has no account management, I am ...
  • 7,399