mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-05 18:42:19 +00:00
a2433455f9
Now keep few beacon block headers in mdbx
26 lines
798 B
Go
26 lines
798 B
Go
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func (a *ApiHandler) poolVoluntaryExits(r *http.Request) *beaconResponse {
|
|
return newBeaconResponse(a.operationsPool.VoluntaryExistsPool.Raw())
|
|
}
|
|
|
|
func (a *ApiHandler) poolAttesterSlashings(r *http.Request) *beaconResponse {
|
|
return newBeaconResponse(a.operationsPool.AttesterSlashingsPool.Raw())
|
|
}
|
|
|
|
func (a *ApiHandler) poolProposerSlashings(r *http.Request) *beaconResponse {
|
|
return newBeaconResponse(a.operationsPool.ProposerSlashingsPool.Raw())
|
|
}
|
|
|
|
func (a *ApiHandler) poolBlsToExecutionChanges(r *http.Request) *beaconResponse {
|
|
return newBeaconResponse(a.operationsPool.BLSToExecutionChangesPool.Raw())
|
|
}
|
|
|
|
func (a *ApiHandler) poolAttestations(r *http.Request) *beaconResponse {
|
|
return newBeaconResponse(a.operationsPool.AttestationsPool.Raw())
|
|
}
|