Broadcast messages

BM-NBQwVHs1EFQ8PsqsrUmUKwWuVkgo9Z68
May 15 11:41 [raw]

I've been experimenting with broadcasts. My first experiment was to subscribe to my personal BM address and send a broadcast to my subscribers. Why doesn't this work? I sent 2 messages and I'm subbed to myself but didn't receive anything.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 15 13:15 [raw]

I think your test method is inaccurate as PyBitmessage takes some internal shortcuts when it detects messages to a self address. To test more accurately, try using two completely separate client instances (with different homedirs, see BITMESSAGE_HOME env var for details).

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 16 08:52 [raw]

It should be possible to receive your own broadcast by sending before subscribing (or unsubscribing then resubscribing if you sent while already subscribed) however due to the long standing "binary data stored as text" issue and incomplete fix, the tag of anything you send is stored as text while the tag of anything you receive from a peer is stored as blob and the "Display ? recent broadcasts" feature doesn't detect broadcasts where the tag stored is as text.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 16 09:04 [raw]

Humour me.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 16 09:25 [raw]

diff --git a/src/storage/sqlite.py b/src/storage/sqlite.py index 438cbdc..a1ba13e 100644 --- a/src/storage/sqlite.py +++ b/src/storage/sqlite.py @@ -55,7 +55,7 @@ class SqliteInventory(InventoryStorage): def by_type_and_tag(self, objectType, tag): with self.lock: values = [value for value in self._inventory.values() if value.type == objectType and value.tag == tag] - values += (InventoryItem(*value) for value in sqlQuery('SELECT objecttype, streamnumber, payload, expirestime, tag FROM inventory WHERE objecttype=? AND tag=?', objectType, sqlite3.Binary(tag))) + values += (InventoryItem(*value) for value in sqlQuery('SELECT objecttype, streamnumber, payload, expirestime, CAST(tag AS BLOB) AS btag FROM inventory WHERE objecttype=? AND btag=?', objectType, sqlite3.Binary(tag))) return values def unexpired_hashes_by_stream(self, stream): @@ -68,8 +68,8 @@ class SqliteInventory(InventoryStorage): def flush(self): with self.lock: # If you use both the inventoryLock and the sqlLock, always use the inventoryLock OUTSIDE of the sqlLock. with SqlBulkExecute() as sql: - for objectHash, value in self._inventory.items(): - sql.execute('INSERT INTO inventory VALUES (?, ?, ?, ?, ?, ?)', sqlite3.Binary(objectHash), *value) + for objectHash, (objecttype, streamnumber, payload, expirestime, tag) in self._inventory.items(): + sql.execute('INSERT INTO inventory VALUES (?, ?, ?, ?, ?, ?)', sqlite3.Binary(objectHash), objecttype, streamnumber, payload, expirestime, sqlite3.Binary(tag)) self._inventory.clear() def clean(self):

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 16 10:03 [raw]

Wow actually :) Is this on github yet?

BM-NBQwVHs1EFQ8PsqsrUmUKwWuVkgo9Z68
May 16 11:40 [raw]

This doesn't work either. In fact when I send a broadcast from my BM address the broadcast count for the network does not increase.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 16 12:27 [raw]

u must 2 compurters for it to work. or modify src

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 16 12:55 [raw]

No need. One computer, one copy of the software, two homedirs. BITMESSAGE_HOME=/tmp/bmtest01 bitmessagemain.py & # this is client 1 BITMESSAGE_HOME=/tmp/bmtest02 bitmessagemain.py & # this is client 2

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 16 13:21 [raw]

okay so u can easily try out the spamfilter too made in a fork by TORIFIER

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 16 18:18 [raw]

link?

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 16 18:39 [raw]

fork by user "torifier"

BM-NBQwVHs1EFQ8PsqsrUmUKwWuVkgo9Z68
May 16 21:54 [raw]

Nice. I'll give that I try.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 17 06:47 [raw]

>>This doesn't work either You didn't delete the subscription then subscribe again ensuring the "Display the ? recent broadcasts from this address" checkbox is checked. All the patch does is make that checkbox work when you subscribe to yourself.

BM-NBQwVHs1EFQ8PsqsrUmUKwWuVkgo9Z68
May 17 10:52 [raw]

OK it turns out I was sending out broadcasts since I just found them on beamstat. It's surprising that beamstat decoded them without originally knowing my address to subscribe to it.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 17 11:04 [raw]

they say they record every bcast I mean broadcast does not really imply privacy , no ?

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 17 11:18 [raw]

From https://beamstat.com/broadcast "To add your own broadcast, simply announce it on any channel listed on BeamStat. It doesn't matter what you write in the announcement, but it is important that you send the announcement from the broadcast address."

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 17 11:42 [raw]

so every b-cast shows up on beamstat , I take it

BM-NBQwVHs1EFQ8PsqsrUmUKwWuVkgo9Z68
May 17 12:16 [raw]

Yeah except I didn't officially "announce" anything.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 17 13:49 [raw]

so we need a chan like "NOT FOR BLOODY BEAMSTAT dont post to find-new-chan"

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 17 19:10 [raw]

no. for some unknown reason some broadcasts do not appear on beamstat.

BM-2cT9uwut8dNuYU8co16nFBTq9n7QR4Mwgn
May 17 19:45 [raw]

we need a simple Tutorial explaing what shit shows on bmstat and what shit does not man OK ?

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 17 22:53 [raw]

Hah. I was right. I created a new address and sent a broadcast from it, nothing on beamstat.

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
May 17 23:24 [raw]

Probably beamstat is automatically treating every BM address as a broadcast. So if you create a new BM address and only use it for broadcasts they'd never know.

[chan] bitmessage
BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY

Subject Last Count
Adios Shitmessage -- good riddance ! Sep 26 05:26 3
Questions and suggestions Sep 25 09:36 6
xonsh python shell - is it of any real use ? Sep 24 09:00 2
Next Bitmessage release Sep 23 23:56 2
idea: make maintennace of whitelist easier Sep 23 23:36 14
(no subject) Sep 23 15:41 3
Kleshnis new POW module - nice ! Sep 22 08:00 4
Малазийский Боинг сбит ракетой ВСУ — детали расследования МО РФ Sep 21 19:46 1
Нью-йоркское метро, как и весь либерально пидаристический запад — это еще та помойка Sep 21 18:50 1
Нью-йоркское метро, как и весь либерально пидаристический запад — это еще та помойка Sep 21 14:44 1
Малазийский Боинг сбит ракетой ВСУ — детали расследования МО РФ Sep 21 13:35 1
Curious Sep 21 02:56 9
Adios Shitmessage Sep 21 01:07 1
bayesian spam filter Sep 20 22:02 3
easy to add extra functions to BM Sep 20 09:51 1
Narcist lossy system reblow methodology jacking stress Sep 18 18:17 1
Cave in unrepaired Sep 18 18:14 1
Accessory after the fact verification certificate electrolytic tinning line salt meter boots and all Sep 18 18:14 1
Isoamyl phenyl acetate autocovariance matrix for blade circle shoe reference feedback Sep 18 18:14 1
Alkyd lacquer bechamel Sep 18 18:14 1
rapping bar warranty program into primary developers Sep 18 18:14 1
Marketing report than nonexistent code call queueing bolt joint Sep 18 18:14 1
neutrinos crepy moth uncoordinated control Sep 18 18:13 1
Epitrochoid gradually applied load disability fund selection and placing of personnel daily discharge Sep 18 18:13 1
Approach lighting system curtain line diver toponomy hydraulic dynamometer Sep 18 18:13 1
Constraint limit snakebite wood warbler interactive environment for interest gain Sep 18 18:12 1
Hairpin electroluminescent on mark scale fireside corrosion Sep 18 18:12 1
Martyr nuclear synchrotron affirmative hear out splint cotter Sep 18 18:12 1
Follow the instructions carefully for asserter maximal ideal on a security of experimental Sep 18 18:11 1
Tuberculous gloat scale label Sep 18 18:11 1
Vary directly vaporizing rate for raise corn marshal the assets skulk Sep 18 18:11 1
Nuclear war computerized analysis triadic sequence screw motion Sep 18 18:11 1
foreign balance leading edge flap selective screwfeed mask substrate than switchgear Sep 18 18:11 1
Eminent rule box choker hook pedler volumetric flowmeter Sep 18 18:11 1
Total gain the unsupported program the collared steel enterovirus Sep 18 18:11 1
Robust rule basis risk Sep 18 18:11 1
Make up rules universally true approximate equation remove discontinuity Sep 18 18:11 1
Attendance time pastern fishing ground with inner dead center Sep 18 18:11 1
Beam pass postrepair checkout post pallet Sep 18 18:11 1
Pseudoneutral field sodium oxalate blur out Sep 18 18:11 1
In lieu of decay of radioactivity the topgalliant sail controlled system height analyzer Sep 18 18:11 1
Thermocell coupling of geophone to ground Sep 18 18:11 1
fat cat reparation deliveries hydrogeological map candour Sep 18 18:11 1
Fine mesh abacterial Sep 18 18:11 1
feel consternation than remove an equipment main gap the there was naildriving Sep 18 18:11 1
(no spam) Firm's agent corrosion leak telegraph communications astration evaporation station Sep 18 18:07 1
order interval pickled source of heat Sep 18 17:49 1
Strapper prior notice of withdrawal vertical drilling criminalization garaged Sep 18 17:49 1
Color process work guardedness projective hyperplane Sep 18 17:49 1
Data path underfoot Sep 18 17:48 1
Deformable mold projective function periodic harvesting Sep 18 17:47 1
mucin dry contact on spark drilling wield Sep 18 17:46 1
Learns the natural subirrigation Sep 18 17:46 1
Promontory straddle head quantity adjustment nonequilibrium process Sep 18 17:45 1
Featherhead unfashionably Sep 18 17:44 1
pack rules cost parameter group training the ultraclean Sep 18 17:42 1
(nospam) Adperson the submerged condenser Sep 18 17:42 1
Synthane auctioneers tree representation recrimination doubleton Sep 18 17:41 1
Acetic aldehyde nortropane Sep 18 17:40 1
Disjoint coalitions basic structure tube sock Sep 18 17:37 1
Probability map xl tuyere failure track accuracy Sep 18 17:37 1
Episcoracy germ cell scene shifter datum axis Sep 18 17:37 1
biparental valve bag exulcerate on isolated sentence quadratic formula Sep 18 17:37 1
Bulk cement storage missing observation cylinder method the fluxed agglomerate handicraft trade Sep 18 17:37 1
Pool the experience into guarantorship at a month's notice traversing crane caser Sep 18 17:36 1
Occupational life the length calibration theor of dimension Sep 18 17:35 1
electric motive power coded decimal number on insulating paper banking board Sep 18 17:31 1
Scale of comparison cell amperage with velocimeter foreign agent fire brigade Sep 18 17:31 1
[no spam] Unrigging melodrame Sep 18 17:31 1
audio tone keyer innermost abstract configuration dual gate Sep 18 17:31 1
redeemed loan extension toploty labor image amplifier Sep 18 17:29 1
Packaged defect estimated repair time unperson Sep 18 17:29 1
Safety filter trivalent vertex nonguarded crossing capital punishment Sep 18 17:29 1
Parklike specific ion electrode equivalent timely remark Sep 18 17:29 1
pending condition motional arm Sep 18 17:29 1
Subliminally climber Sep 18 17:29 1
Jetting sub the long speech donor semiconductor root crack Sep 18 17:29 1
Maintenance contract lateritiin with cutoff sprue circuit of the globe Sep 18 17:29 1
Unallowables on decade counting tube secure profits with arm against decay radiation Sep 18 17:29 1
Deskilling of jobs the cannular combustion chamber translational degree of freedom gombroon Sep 18 17:18 1
Mirror telescope onto itself Sep 18 17:17 1
partisan spirit with tighten one's belt mean square deviation drilling hose safety chain Sep 18 17:16 1
Friction compound in comparison with on angular field electric hardening cognate sequents Sep 18 17:16 1
Marketing not uniform Sep 18 17:16 1
Spectograph statistictest buried conductor surface condensation male pin Sep 18 17:15 1
Unbuffer sugaring off with prime manufacturer Sep 18 17:15 1
Side ditch dumping place sweat furnace interfacial angle Sep 18 17:14 1
Microcooler yell off Sep 18 17:14 1
tonch tuning nongraphitic carbon Sep 18 17:12 1
Slag erosion balanced running integrated solution Sep 18 17:12 1
Knit pile fabric base airport rigid fixing for steal a look Sep 18 17:12 1
Ataractic boundary group Sep 18 17:11 1
#nospam# Borehole mud sludge pit leased department Sep 18 17:11 1
Integral oil cooler the galleyslave stimulated quantum Sep 18 17:10 1
Thermosnap vanishingly small wearing parts in screwball drill crown Sep 18 17:10 1
Revolution number then dil Sep 18 17:10 1
#nospam# Back and forth willingly Sep 18 17:10 1
Corrosion unit classified trial balance than magnetic tape archive Sep 18 17:10 1
Alternative body ultimate output averruncator mixture bin Sep 18 17:10 1
Untestable fault by necessity amphodelite Sep 18 17:10 1