Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Dmitry S.
@zilm13
@alexjavabraz I made meta-EIP:
ethereum/ethereumj#1280
I'd took EIP-1829, everything else is currently available
Nick Savers
@nicksavers
@zilm13 not all the EIPs in that list are currently accepted
Dmitry S.
@zilm13
@nicksavers why they are added to the tracker?
Nick Savers
@nicksavers
Those were the only EIPs that didn't get strong opposition in the AllCoreDevs call. But since then a new tracker is created for the Istanbul fork. It's all still in Draft and discussions are held on the actual technical merits and limitations. A deadline for acceptance has been agreed upon by a community and the core devs in a new timeline.
Have a look at the timelines here https://en.ethereum.wiki/roadmap/istanbul
I think the other page isn't really maintained as much.
Dmitry S.
@zilm13
@nicksavers thanks for clarification
vad1986
@vad1986
hello people:))) can anyone help me run Geth with docker on rinkeby?any explanation or guide will help
sravaniGitHub544
@sravaniGitHub544
Hi how can we write smart contract?
chosenegbe
@chosenegbe
Eth2Moon
@ETH2Moon_twitter
yerp
chosenegbe
@chosenegbe
Is there a method to check the number of confirmations (or maybe propagation time) a transaction had before been approved into a block? Further how can I infer the propagation time of a new block.
Dmitry S.
@zilm13

@chosenegbe

Is there a method to check the number of confirmations (or maybe propagation time) a transaction had before been approved into a block?

Once transaction appears in block, it's 1st confirmation, so I don't understand you question
If the question is, is there a method which logs the time until transaction is included, no, there is no such method. We have only method to estimate average gas price https://github.com/ethereum/ethereumj/blob/develop/ethereumj-core/src/main/java/org/ethereum/listener/RecommendedGasPriceTracker.java

chosenegbe
@chosenegbe
@zilm13 thank you :)
Tomasz Kajetan Stańczak
@tkstanczak
I have been running Goerli sync benchmarks for Pantheon, Geth, Nethermind and Parity, would love to add EthereumJ to the pack
I would like to show results tomorrow at the London Meetup and I guess there is a big chance you will be 10 times faster than Pantheon...
does EthereumJ support Goerli?
what is the command?
I have it installed already, also have JDK
(I am running both fast sync and full sync modes)
Mikhail Kalinin
@mkalinin
@tkstanczak unfortunately, EthereumJ doesn't support Goerli so far. Anyway, thanks for your intention :+1:
Tomasz Kajetan Stańczak
@tkstanczak
understand, thanks, somehow I thought there was support but it must have been EthereumJS then
Mikhail Kalinin
@mkalinin
Chance of seeing how EthereumJ beats Pantheon makes me think of adding Goerly support :laughing:
vad1986
@vad1986
hey guys
I need to get transactions by address/account from geth node ...through rpc commands
does any one know how to do this???
or suggest another way?any way?
Mikhail Kalinin
@mkalinin
is that what you want to do on history data?
AceLuodan
@AceLuodan
i want to know how to Encode values of input fields and decode ?
or some tools to achieve by java?
image.png
AceLuodan
@AceLuodan
Thanks. I will see
Immanuel-john
@Immanuel-john
I'm getting this Error: Returned error: Insufficient funds. The account you tried to send transaction from does not have enough funds. but i've 3 eth in my account in metamask. but why this error? pls help
Mikhail Kalinin
@mkalinin
Are you trying to send all of your funds? Is receiver a contract or a regular account?
warlock10
@warlock10
Hi guys, may I ask how you get the information displayed on this website? https://www.ethernodes.org/network/1/nodes . Do you request every node on ethereum net and get his running version or just display neighbour node's information?
yeobill
@yeobill
Hi guys, I am not sure this is the right place to ask my question. Anyone knows how to handle the chainId is greater than 1 byte?
I got the error: Request uses conventional signature and chainID is not 1 (12349**)
Mikhail Kalinin
@mkalinin
@yeobill chainId is limited to 31 bits. It should be OK with the number you used.
yeobill
@yeobill
@mkalinin Then, should I change this Integer chanId to byte?
Integer intChainId = new Integer(12349**)
byte chainId = intChainId.byteValue() ?
Thank you in advance.
Mikhail Kalinin
@mkalinin
no, you rather should pass it as integer. does that work?
yeobill
@yeobill
no..
the RawtransactionManager constructor does not allow the Integer as an input
public RawTransactionManager(Web3j web3j, Credentials credentials, byte chainId, int attempts, long sleepDuration) { super(web3j, attempts, sleepDuration); this.web3j = web3j; this.credentials = credentials; this.chainId = chainId; }
@mkalinin so I just tried to convert this integer value to byte but it did not work.
Dmitry S.
@zilm13

byte chainId = intChainId.byteValue()

maximum for one byte is 255
so they either have another method or it's a bug

chosenegbe
@chosenegbe

Hello guys

how/where are peers chosen to define the TCP connection in Ethereumj?

Dmitry S.
@zilm13

@chosenegbe I don't understand your question clearly, but if you mean the process of connecting to already discovered nodes, take a look at this part of code https://github.com/ethereum/ethereumj/blob/9bb6d67a73f782d0c3a992fd5fe535224b484cbd/ethereumj-core/src/main/java/org/ethereum/sync/SyncPool.java#L265-L285

In a few words there are two separate processes:
1) Looking up for a new nodes and updating its info in NodeManager
2) Taking some known nodes when we don't have enough connected (see above code), connecting to them and query for data, it's done in SyncManager / SyncPool

plus as we accept incoming connections, some nodes arrive from this source, see PeerServer

chosenegbe
@chosenegbe
This message was deleted
chosenegbe
@chosenegbe

thanks for the response @zilm13. To elaborate, lemme give an instance of some naive eclipse attacks. there are eclipse attacks by table poisoning and also by monopolizing the TCP connection. The above attacks mostly target the TCP incoming and outgoing connections. For instance, the TCP connection can be eclipsed if the attacker establishes max-peers incoming TCP connections before the client has a chance to establish any outgoing TCP connections
a trivial countermeasure of the connection monopolization is to enforce an upper limit on the number of incoming TCP connections, forcing clients to make a mix of incoming and outgoing TCP connections

what I'll love to know how/where are peers chosen to define the TCP connection in Ethereumj? maybe some implementation strategies
so that i can log some stats on the connection status (# of incoming/outgoing tcp connections, maybe tcp connection interval, etc.)

Dmitry S.
@zilm13
@chosenegbe we could drop incoming connections, take a look at the same SyncPool, for example these lines: https://github.com/ethereum/ethereumj/blob/9bb6d67a73f782d0c3a992fd5fe535224b484cbd/ethereumj-core/src/main/java/org/ethereum/sync/SyncPool.java#L320-L338 where we could drop guys that are connected to our node.
TCP attack you've described could be handled only on system level and looks too difficult to be real. Your application just will not be able to open any connection under such kind of attack. And it doesn't guarantee for attacker that its peers could be used for sync, all he could achieve - no sync at all.
All low level TCP settings are in PeerServer and EthereumChannelInitializer
chosenegbe
@chosenegbe

@chosenegbe we could drop incoming connections, take a look at the same SyncPool, for example these lines: https://github.com/ethereum/ethereumj/blob/9bb6d67a73f782d0c3a992fd5fe535224b484cbd/ethereumj-core/src/main/java/org/ethereum/sync/SyncPool.java#L320-L338 where we could drop guys that are connected to our node.
TCP attack you've described could be handled only on system level and looks too difficult to be real. Your application just will not be able to open any connection under such kind of attack. And it doesn't guarantee for attacker that its peers could be used for sync, all he could achieve - no sync at all.
All low level TCP settings are in PeerServer and EthereumChannelInitializer

@zilm13 thanks very much, now I get it :)

Alex Braz
@alexjavabraz

@mkalinin

understand, thanks, somehow I thought there was support but it must have been EthereumJS then

if you need some help, i'm in.

Hiro
@HiroKryptor
hey. how to trace vm opcode on etherumj?