Skip to main content
clarify
Source Link
eth
  • 86.5k
  • 53
  • 287
  • 411

Please clarify Filters: what's "latest" and "pending" etc?

I'm having trouble finding out what "latest" and "pending" mean.

The context is: I want to monitor accounts for incoming transactions (RPC/IPC API) and call a function whenever any one of a number of monitored accounts receives ether which is "confirmed", as in, "sufficiently many blocks ago that the chances of double-spending are negligible".

Is there a reference implementation of this?

I'm looking into filters;filters and the words "pending" and "latest" keep cropping up. What do they mean?

Also, if there's also a reference implementation of the above API usage, I'd love to see it. Thanks. What do they mean?

Please clarify "latest" and "pending" etc

I'm having trouble finding out what "latest" and "pending" mean.

The context is: I want to monitor accounts for incoming transactions (RPC/IPC API) and call a function whenever any one of a number of monitored accounts receives ether which is "confirmed", as in, "sufficiently many blocks ago that the chances of double-spending are negligible".

I'm looking into filters; the words "pending" and "latest" keep cropping up. What do they mean?

Also, if there's also a reference implementation of the above API usage, I'd love to see it. Thanks.

Filters: what's "latest" and "pending"?

I want to monitor accounts for incoming transactions (RPC/IPC API) and call a function whenever any one of a number of monitored accounts receives ether which is "confirmed", as in, "sufficiently many blocks ago that the chances of double-spending are negligible".

Is there a reference implementation of this?

I'm looking into filters and the words "pending" and "latest" keep cropping up. What do they mean?

Source Link
spraff
  • 645
  • 1
  • 10
  • 22

Please clarify "latest" and "pending" etc

I'm having trouble finding out what "latest" and "pending" mean.

The context is: I want to monitor accounts for incoming transactions (RPC/IPC API) and call a function whenever any one of a number of monitored accounts receives ether which is "confirmed", as in, "sufficiently many blocks ago that the chances of double-spending are negligible".

I'm looking into filters; the words "pending" and "latest" keep cropping up. What do they mean?

Also, if there's also a reference implementation of the above API usage, I'd love to see it. Thanks.