Skip to content

Commit

Permalink
fix: rename to MEMPOOL_PAGES
Browse files Browse the repository at this point in the history
  • Loading branch information
0xB10C committed Mar 21, 2024
1 parent 602014f commit f855f12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extractor/src/bpf/tracing.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,10 @@ int BPF_USDT(handle_addrman_tried, s32 bucket, s32 bucket_pos, void *addr, u32 a

#define MEMPOOL_PAGES 64

RINGBUFFER(mempool_added, ADDRMAN_PAGES)
RINGBUFFER(mempool_removed, ADDRMAN_PAGES)
RINGBUFFER(mempool_replaced, ADDRMAN_PAGES)
RINGBUFFER(mempool_rejected, ADDRMAN_PAGES)
RINGBUFFER(mempool_added, MEMPOOL_PAGES)
RINGBUFFER(mempool_removed, MEMPOOL_PAGES)
RINGBUFFER(mempool_replaced, MEMPOOL_PAGES)
RINGBUFFER(mempool_rejected, MEMPOOL_PAGES)

#define TXID_LENGHT 32
#define REMOVAL_REASON_LENGTH 9
Expand Down

0 comments on commit f855f12

Please sign in to comment.