Skip to content

Instantly share code, notes, and snippets.

View hashbender's full-sized avatar
👷‍♂️
Buidling

Nick Hansen hashbender

👷‍♂️
Buidling
View GitHub Profile
Swift_TransportException in AbstractSmtpTransport.php line 162:
Cannot send message without a sender address
in AbstractSmtpTransport.php line 162
at Swift_Transport_AbstractSmtpTransport->send(object(Swift_Message), array()) in Mailer.php line 85
at Swift_Mailer->send(object(Swift_Message), array()) in Mailer.php line 385
at Mailer->sendSwiftMessage(object(Swift_Message)) in Mailer.php line 171
at Mailer->send('auth.emails.password', array('token' => '1f8506d9f9c39c01aa0c6a6b163c6ae0a420089cb324eb8fffbcf7eb79ef3c79', 'user' => object(User)), object(Closure)) in PasswordBroker.php line 119
at PasswordBroker->emailResetLink(object(User), '1f8506d9f9c39c01aa0c6a6b163c6ae0a420089cb324eb8fffbcf7eb79ef3c79', object(Closure)) in PasswordBroker.php line 93
at PasswordBroker->sendResetLink(array('email' => '[email protected]'), object(Closure)) in ResetsPasswords.php line 81
at PasswordController->sendResetLinkEmail(object(Request))
@hashbender
hashbender / gist:9d5b44b0187ca8e65b7dd4741456f580
Created October 25, 2017 07:00
127.0.0.1:9980/explorer/blocks/127880
{
"block": {
"minerpayoutids": [
"2f42c7a3603ad416fdc653c16a13ba39e168465571f6cf73b0841addca6e3a01"
],
"transactions": [
{
"id": "e4f5b5e8101721512f1da567cdd0acada4778e117e76a2104f56c641a6f0fb5f",
"height": 127880,
"parent": "00000000000000698a8c9cf614bbae0d867f5097dee652bc8e2075874d8bdd93",
@hashbender
hashbender / gist:3a4666cce224540ee5e0808dbd2ad0aa
Created October 25, 2017 07:01
127.0.0.1:9980/explorer/hashes/b2009972b7750ea284199e7bcee1ea86d6e65fbea9eb3338e04e0802e3893de6
{
"hashtype": "transactionid",
"block": {
"minerpayoutids": null,
"transactions": null,
"rawblock": {
"parentid": "0000000000000000000000000000000000000000000000000000000000000000",
"nonce": [
0,
0,
@hashbender
hashbender / tx_output.json
Created October 30, 2017 01:38
Transaction Websocket Output
{
"applied_txs": [{
"id": "78c9502381782f18d56d2f5a7b4ad2dcd568442231bd00da1af3109c0629ca3f",
"height": 0,
"parent": "25f6e3b9295a61f69fcb956aca9f0076234ecf2e02d399db5448b6e22f26e81c",
"rawtransaction": {
"siacoininputs": [{
"parentid": "5f718207a83f834d632d2cf99aee629fb829d10057384b7ea85a25af0805176a",
"unlockconditions": {
"timelock": 0,
@hashbender
hashbender / block_websocket.json
Created October 30, 2017 03:02
Block Websocket Response
{
"applied_blocks": [
{
"block": {
"minerpayoutids": [
"90c465c81e007de0116f091564492d7e8525af813c191f3c7f96e1953bd0bc7f"
],
"transactions": [
{
"id": "78b75e3a443e9901050b1c63257e708cc23d9af41422cdd9e066c4bba159f4b2",
@hashbender
hashbender / synctime.csv
Created November 3, 2017 02:07
Explorer Sync Time By Block
We can't make this file beautiful and searchable because it's too large.
0, 629.102µs
1, 447.075µs
2, 314.697µs
3, 419.795µs
4, 299.183µs
5, 283.507µs
6, 367.308µs
7, 300.801µs
8, 454.676µs
9, 808.391µs
:: Batch file sample for Marlin
:: Written by Xurious for SiaMining.com
:: Sia Address: 00091d9619f1e697ddf80e751b68baffc444e7b59eeb54e131f136711d84aebf3bc6e0b820af
:: Updated 2016-08-12
::
:: Your Payout Address.
SET address=00091d9619f1e697ddf80e751b68baffc444e7b59eeb54e131f136711d84aebf3bc6e0b820af
:: Worker Name.
SET worker=example_worker
:: Intensity. Lower values may be better for normal desktop usage.
This file has been truncated, but you can view the full file.
{
"blocks": [
{
"minerpayoutids": [
"583558dc22ea584c6f039306b937e58925b9b93e92ba5fef05254251c5a4e9af"
],
"transactions": [
{
"id": "018f40b0f05ce7f23141fb50da0f4a8809c590c205f72a742de4cf17c90c786a",
"height": 134989,
runtime/debug.Stack(0x1047967, 0x0, 0xc4203b7f38)
/usr/local/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Critical(0xc4203b8240, 0x2, 0x2)
/Users/nickh/code/Go/src/github.com/NebulousLabs/Sia/build/critical.go:16 +0x93
github.com/NebulousLabs/Sia/persist.(*Logger).Critical(0xc42020d500, 0xc4203b8240, 0x2, 0x2)
/Users/nickh/code/Go/src/github.com/NebulousLabs/Sia/persist/log.go:37 +0xcc
github.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).computeConsensusChange(0xc4200d1b80, 0xc42029c2a0, 0x0, 0x0, 0x0, 0xc427fed700, 0x1, 0x1, 0x0, 0x0, ...)
/Users/nickh/code/Go/src/github.com/NebulousLabs/Sia/modules/consensus/subscribe.go:56 +0x15ed
[10:21 PM] penfold: check the byte ordering on ripemd160
[10:22 PM] penfold: you will have to reverse it I think
[10:23 PM] penfold: I'm not able to look in detail right now but
[10:23 PM] penfold: I swap the byte order of the sha256d output before feeding into sha512
[10:24 PM] penfold: and then swap the two half outputs of sha512 before feeding into ripemd160
[10:24 PM] penfold: then swap the outputs of ripemd before feeding into 256
[10:24 PM] penfold: not sure if that sounds right lol but you get the idea