I don’t know if this is a question for @happybeing or Maidsafe but this is something I find a little odd. In the wonderful vdash I see that one of my nodes has received 5 attos. Which is very nice. But is it real? I’ve only received 2 from all 10 nodes I’m running in 3 places as shown in Arbiscan. I realise there will be a lag but I think I can see the other 2 payments in the logs and these alleged 5 were hours ago. These are the log entries for the mystery 5:-
grep 'received_payment_count' ~/.local/share/safe/node/safenode4/logs/safenode.log*
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:42.122812Z INFO sn_networking::record_store] Cost is now 1 for quoting_metrics QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 0, live_time: 3281 }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:42.122818Z INFO sn_networking::log_markers] StoreCost { cost: 1, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 0, live_time: 3281 } }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:42.123224Z DEBUG sn_node::quote] Created payment quote for NetworkAddress::ChunkAddress(ceb98c - d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5): PaymentQuote { content: ceb98c(11001110).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294382, tv_nsec: 122972003 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 0, live_time: 3281 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:42.123285Z DEBUG sn_node::node] Sending response Query(GetStoreCost(quote: Ok(PaymentQuote { content: ceb98c(11001110).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294382, tv_nsec: 122972003 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 0, live_time: 3281 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }), from NetworkAddress::PeerId(12D3KooWPPcGbB1aMkm4NobVYdRXFcekLKM6oySiGK3j5rk93mJn - d665d3defbf53749151cb4ed8714dfb515c4256a7a358b0d171e2fde9c2b83ba) w/ payment_address: 0xfad2973a0243daa82d34d221e36ab69692966fac))
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:45.304946Z DEBUG sn_node::quote] Verifying payment quote for NetworkAddress::ChunkAddress(ceb98c - d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5): PaymentQuote { content: ceb98c(11001110).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294382, tv_nsec: 122972003 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 0, live_time: 3281 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:18.366822Z INFO sn_networking::record_store] Cost is now 1 for quoting_metrics QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 5, live_time: 3557 }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:18.366964Z INFO sn_networking::log_markers] StoreCost { cost: 1, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 5, live_time: 3557 } }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:18.368097Z DEBUG sn_node::quote] Created payment quote for NetworkAddress::ChunkAddress(82cefc - d665ff883ed4ca4dd8d187dc7f1260c029e2f6d07677968987a49cf3e8f9541b): PaymentQuote { content: 82cefc(10000010).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294658, tv_nsec: 367895214 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 5, live_time: 3557 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:18.368207Z DEBUG sn_node::node] Sending response Query(GetStoreCost(quote: Ok(PaymentQuote { content: 82cefc(10000010).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294658, tv_nsec: 367895214 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 5, live_time: 3557 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }), from NetworkAddress::PeerId(12D3KooWPPcGbB1aMkm4NobVYdRXFcekLKM6oySiGK3j5rk93mJn - d665d3defbf53749151cb4ed8714dfb515c4256a7a358b0d171e2fde9c2b83ba) w/ payment_address: 0xfad2973a0243daa82d34d221e36ab69692966fac))
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:22.067852Z DEBUG sn_node::quote] Verifying payment quote for NetworkAddress::ChunkAddress(82cefc - d665ff883ed4ca4dd8d187dc7f1260c029e2f6d07677968987a49cf3e8f9541b): PaymentQuote { content: 82cefc(10000010).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294658, tv_nsec: 367895214 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 5, live_time: 3557 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }
So it looks like vdash is counting the number of payments by looking at received_payment_count
However, this is what I see by grepping for just ‘payment’:-
grep 'payment' ~/.local/share/safe/node/safenode4/logs/safenode.log*
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:42.122812Z INFO sn_networking::record_store] Cost is now 1 for quoting_metrics QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 0, live_time: 3281 }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:42.122818Z INFO sn_networking::log_markers] StoreCost { cost: 1, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 0, live_time: 3281 } }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:42.123224Z DEBUG sn_node::quote] Created payment quote for NetworkAddress::ChunkAddress(ceb98c - d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5): PaymentQuote { content: ceb98c(11001110).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294382, tv_nsec: 122972003 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 0, live_time: 3281 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:42.123285Z DEBUG sn_node::node] Sending response Query(GetStoreCost(quote: Ok(PaymentQuote { content: ceb98c(11001110).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294382, tv_nsec: 122972003 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 0, live_time: 3281 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }), from NetworkAddress::PeerId(12D3KooWPPcGbB1aMkm4NobVYdRXFcekLKM6oySiGK3j5rk93mJn - d665d3defbf53749151cb4ed8714dfb515c4256a7a358b0d171e2fde9c2b83ba) w/ payment_address: 0xfad2973a0243daa82d34d221e36ab69692966fac))
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:45.304946Z DEBUG sn_node::quote] Verifying payment quote for NetworkAddress::ChunkAddress(ceb98c - d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5): PaymentQuote { content: ceb98c(11001110).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294382, tv_nsec: 122972003 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 0, live_time: 3281 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:55.176140Z DEBUG sn_node::put_validation] Validating record payment for ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:55.177127Z DEBUG sn_node::put_validation] Verifying payment for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:55.665913Z INFO sn_node::put_validation] Total payment of AttoTokens(1) atto tokens accepted for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:08.748369Z DEBUG sn_node::put_validation] Validating record payment for ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:08.749013Z DEBUG sn_node::put_validation] Verifying payment for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:09.302927Z INFO sn_node::put_validation] Total payment of AttoTokens(1) atto tokens accepted for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:09.303230Z DEBUG sn_node::put_validation] Chunk with addr NetworkAddress::ChunkAddress(ceb98c - d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5) already exists: true, payment extracted.
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:20.280328Z DEBUG sn_node::put_validation] Validating record payment for ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:20.280877Z DEBUG sn_node::put_validation] Verifying payment for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:20.747378Z INFO sn_node::put_validation] Total payment of AttoTokens(1) atto tokens accepted for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:20.747416Z DEBUG sn_node::put_validation] Chunk with addr NetworkAddress::ChunkAddress(ceb98c - d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5) already exists: true, payment extracted.
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:35.160054Z DEBUG sn_node::put_validation] Validating record payment for ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:35.160435Z DEBUG sn_node::put_validation] Verifying payment for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:36.036298Z INFO sn_node::put_validation] Total payment of AttoTokens(1) atto tokens accepted for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:36.036323Z DEBUG sn_node::put_validation] Chunk with addr NetworkAddress::ChunkAddress(ceb98c - d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5) already exists: true, payment extracted.
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:45.545980Z DEBUG sn_node::put_validation] Validating record payment for ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:45.546352Z DEBUG sn_node::put_validation] Verifying payment for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:46.029241Z INFO sn_node::put_validation] Total payment of AttoTokens(1) atto tokens accepted for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:46.029266Z DEBUG sn_node::put_validation] Chunk with addr NetworkAddress::ChunkAddress(ceb98c - d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5) already exists: true, payment extracted.
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:18.366822Z INFO sn_networking::record_store] Cost is now 1 for quoting_metrics QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 5, live_time: 3557 }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:18.366964Z INFO sn_networking::log_markers] StoreCost { cost: 1, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 5, live_time: 3557 } }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:18.368097Z DEBUG sn_node::quote] Created payment quote for NetworkAddress::ChunkAddress(82cefc - d665ff883ed4ca4dd8d187dc7f1260c029e2f6d07677968987a49cf3e8f9541b): PaymentQuote { content: 82cefc(10000010).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294658, tv_nsec: 367895214 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 5, live_time: 3557 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:18.368207Z DEBUG sn_node::node] Sending response Query(GetStoreCost(quote: Ok(PaymentQuote { content: 82cefc(10000010).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294658, tv_nsec: 367895214 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 5, live_time: 3557 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }), from NetworkAddress::PeerId(12D3KooWPPcGbB1aMkm4NobVYdRXFcekLKM6oySiGK3j5rk93mJn - d665d3defbf53749151cb4ed8714dfb515c4256a7a358b0d171e2fde9c2b83ba) w/ payment_address: 0xfad2973a0243daa82d34d221e36ab69692966fac))
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:22.067852Z DEBUG sn_node::quote] Verifying payment quote for NetworkAddress::ChunkAddress(82cefc - d665ff883ed4ca4dd8d187dc7f1260c029e2f6d07677968987a49cf3e8f9541b): PaymentQuote { content: 82cefc(10000010).., cost: AttoTokens(1), timestamp: SystemTime { tv_sec: 1730294658, tv_nsec: 367895214 }, quoting_metrics: QuotingMetrics { close_records_stored: 8, max_records: 16384, received_payment_count: 5, live_time: 3557 }, rewards_address: 0xfad2973a0243daa82d34d221e36ab69692966fac }
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:24:22.069869Z DEBUG sn_evm::data_payments] The new quote has 5 close records stored, meanwhile old one has 5.
So it looks like the ’ received_payment_count’ can jump up by more than just 1 at a time. But is that justified? Is it real?
Grepping for Total payment of AttoTokens
shows this:-
grep 'Total payment of AttoTokens' ~/.local/share/safe/node/safenode4/logs/safenode.log*
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:19:55.665913Z INFO sn_node::put_validation] Total payment of AttoTokens(1) atto tokens accepted for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:09.302927Z INFO sn_node::put_validation] Total payment of AttoTokens(1) atto tokens accepted for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:20.747378Z INFO sn_node::put_validation] Total payment of AttoTokens(1) atto tokens accepted for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:36.036298Z INFO sn_node::put_validation] Total payment of AttoTokens(1) atto tokens accepted for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
/home/safe/.local/share/safe/node/safenode4/logs/safenode.log.20241030T141436:[2024-10-30T13:20:46.029241Z INFO sn_node::put_validation] Total payment of AttoTokens(1) atto tokens accepted for record ceb98c(d645c6d908a76006baaafbea77c2d55443c33547bcd44742af316016908c6ed5)
Is it true that this single node has received all 5 payments for storing a single record? I’ve not seen this elsewhere. Other nodes just a have single payment of 1 atto for records they’ve stored.
And what is this entry all about?: The new quote has 5 close records stored, meanwhile old one has 5
But the point is that I don’t understand this mystery 5 attos that hasn’t been received and something seems to be wrong with the way Vdash is counting attos earned.