• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OpenBazaar / spvwallet / 70
39%

Build:
DEFAULT BRANCH: master
Ran 15 May 2017 07:37PM UTC
Jobs 1
Files 20
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
70

push

travis-ci

cpacia
Refactor transaction download queues

Previously transaction hashes were held in memory along with the tx's height. The
problem was we could not delete the tx from memory after it was downloaded since
this would causes the tx's height to be overridden if a peer sent us the same tx
after the fact. Unlikely to happen, but it still prevented us from clearing out
memory.

This commit refactors the transaction download tracking so that each peer has its
own download queue. It also tracks ingested transactions in memory and the
ingest() function will discard tranasctions that have already been ingested. This
allows up to free up memory of downloaded transactions.

54 of 54 new or added lines in 4 files covered. (100.0%)

1172 of 2923 relevant lines covered (40.1%)

0.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
sortsignsend.go
10
100.0
txstore.go
12
100.0
eight333.go
27
100.0
peers.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
txstore.go
Jobs
ID Job ID Ran Files Coverage
1 70.1 (PATH=/home/travis/gopath/bin:$PATH) 15 May 2017 07:37PM UTC 0
40.1
Travis Job 70.1
Source Files on build 70
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #70
  • 90c37e14 on github
  • Prev Build on master (#69)
  • Next Build on master (#75)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc