Alternatively, you could use the api's generateCommand functions to generate any command, return this command to the user, and request that they sign it manually. You can then take that signature, and call sendSignedCommand. This is more of a hassle, but allows trustless apps to interface with the server. This article will assume that the private key is set, as this allows for simpler examples, but a few minor edits would make any application work in a trustless manner.netvend.setPrivkey(your_privkey) netvend.setSeed('some seed')
Data stores arbitrary data into the database, which is public and transparent. This data can be retrieved by anyone running the Query command, and is easy to be mined, sorted, and just generally analyzed if anyone's interested enough to structure an SQL query. However, this data may also be encrypted using any encryption techniques the developer wants to use, since the server processes the command regardless of the nature of the data. This will enable clever developers to quickly and easily build apps that can dependably utilize a neutral storage space for any encrypted or non-encrypted communication the app needs to use. Note that because this is a paid service, the server has a more inherent tendency to stability that other similar free services do not. With a sufficient community, it can be assumed that a fairly recent backup of the database will always exist somewhere. This means that even in the event of the NetVend server disappearing without a trace, another incarnation of it can easily be created and restored to a very recent state. In summary, the Data command stores a piece of data, publicly, for anyone to easily find, forever.response = netvend.commandData("Your first NetVend data upload!") success = response if (success) data_id = response['command_response'] #the value of data_id can now be used by anyone with the Query command to retrieve this data entry.
Tip sends internal credit from one account to another, specified by that account's Bitcoin address. These are not native Bitcoin transactions, and therefore they require some degree of trust--but are still verifiable in their own way (see the technical writeup). However, because the blockchain isn't used, some limitations of traditional Bitcoin transactions are avoided. Tips are much cheaper than Bitcoin transactions (one Bitcoin transaction cost would pay for the cost of over 1 million NetVend tips), they're virtually instantaneous, and they have the precision of 1/1000000 of a Satoshi (1 uSat). Because NetVend accounts are based on a bitcoin address and the corresponding signatures, funds can be sent to any Bitcoin user regardless of whether they currently use the service. This is because the recipient can always claim or control those funds by sending commands signed with their private key.response = netvend.commandTip(aFriendsAddress,5000000,0) #tip aFriendsAddress 5 satoshis' worth of uSats, referencing 0 as a data entry (interpreted as no data entry) success = response if (success) tip_id = response['command_response'] #the value of tip_id can now be used in a manner similar to data_id, seen above.
Query accesses any of the public database tables (accounts, commands, data, tips) with any valid SQL SELECT query. All valid SQL SELECT queries are accepted and returned, excepting timeout issues. This allows anything (again, user or script) to comb through all public data (remember, however, that data can be encrypted) with that most perceptive tool--an SQL SELECT query, either simple or complex. This is how a client must gain any information about an account or anything else on the server directly, which means that a new account must receive either a direct Bitcoin deposit or a smaller tip from another NetVend account to access any information (Again, during the beta, we will be funding as much of this activity as we can).query = "SELECT id,data FROM data WHERE id < 10" #SELECT id,data Get the data id and the data itself #FROM data from the "data" table #WHERE id < 10 for the first 10 data entries response = netvend.commandQuery(query,2000) #send the query with a max_fee of 2000 uSats (=0.002 Satoshis) success = response if (success): rows = response['command_response']['rows'] for row in rows: print "data entry number " + str(row) + " says " + str(row) #iterates through all returned rows, and prints out the data id and data of each entry
Basically you can choose a short passphrase like correct horse battery staple, then augment it with the Yubikey to add a complex tail like G6O+\b5NDqJyBT5JM)P/u. Gives you an insanely secure passphrase with a bit of memory and a little HW fob. r/xkcd: /r/xkcd is the subreddit for the popular webcomic xkcd by Randall Munroe. Come to discuss the comics and other work by Randall with other … Using your own variant on “correct horse battery staple” for multiple accounts is also a bad idea, from a security and privacy perspective. A single compromised account could leak all the passwords to your email, Bitcoin exchange, and other sensitive accounts. Trying to memorize a different password for tens or even hundreds of accounts is ... Unless you're talking about something that I'm not getting, it's not susceptible to a dictionary attack. The individual words may be, but a brute force attack would still need to guess all of those words in that order. Unless the poem is in your dictionary, I suppose. In that case, the attacker co... Unless you're talking about something that I'm not getting, it's not susceptible to a dictionary attack. The individual words may be, but a brute force attack would still need to guess all of those words in that order.The part you're missing is Markov chains and Bayesian analysis. I'll bet a reasona...
[index]          
This video shows how to bend PVC pipe using boiling water and a jig to hold the desired shape in the pipe. This process was used to construct five rounded ro... Latest video: https://youtu.be/mOyKsuMkQKY Making a LADA VAZ 2101 rear axle shorter for my tracked amphibious all terrain vehicle build. It will be placed in... #homestead #firewood We end up with barrels and barrels of wood ash during the burning season, but there are so many things you can use the ASH for. In today... inexperience dump truck driver. Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.